Skip to content

Commit 9f4094b

Browse files
chore: improve project quality and CI infrastructure
- Add Dependabot configuration for automated weekly dependency updates - Add nextest configuration with default and CI profiles - Enhance cargo-deny security advisory documentation with detailed justifications - Standardize binrw to 0.15.0 across workspace (wow-adt, wow-wmo) - Fix MSRV reference in CONTRIBUTING.md (1.86.0 → 1.92.0) - Replace unwrap() with expect() in CLI code for better error context - Use if-let patterns instead of is_some()/unwrap() combinations Related to project quality assessment recommendations.
1 parent 793b18d commit 9f4094b

File tree

15 files changed

+281
-271
lines changed

15 files changed

+281
-271
lines changed

.config/nextest.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[profile.default]
2+
# Time to wait for a test to complete before timing out
3+
slow-timeout = { period = "60s", terminate-after = 2 }
4+
5+
# Reuse test binaries across runs for faster execution
6+
# Useful during development
7+
reuse-build = true
8+
9+
# Show output of all tests, not just failures
10+
failure-output = "immediate-final"
11+
12+
[profile.ci]
13+
# More aggressive timeouts for CI
14+
slow-timeout = { period = "30s", terminate-after = 3 }
15+
16+
# Always run tests from scratch in CI
17+
reuse-build = false
18+
19+
# Use all available cores
20+
test-threads = "num-cpus"

.github/dependabot.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "cargo"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "monday"
8+
time: "09:00"
9+
open-pull-requests-limit: 10
10+
reviewers:
11+
- "wowemulation-dev"
12+
assignees:
13+
- "wowemulation-dev"
14+
labels:
15+
- "dependencies"
16+
- "dependabot"
17+
commit-message:
18+
prefix: "chore(deps)"
19+
include: "scope"
20+
ignore:
21+
# Ignore major version updates for these crates
22+
- dependency-name: "binrw"
23+
update-types: ["version-update:semver-major"]
24+
- dependency-name: "binrw_derive"
25+
update-types: ["version-update:semver-major"]

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,34 @@ and this project adheres to
88

99
## [Unreleased]
1010

11+
### Changed
12+
13+
- **Dependencies**: Standardized binrw to 0.15.0 across workspace
14+
- wow-adt and wow-wmo now use workspace binrw version instead of pinned 0.14
15+
- Reduces dependency duplication and compile time
16+
17+
### Fixed
18+
19+
- **Documentation**: Corrected MSRV reference in CONTRIBUTING.md (1.86.0 → 1.92.0)
20+
- **Code Quality**: Replaced unwrap() with expect() in CLI code for better error context
21+
- warcraft-rs progress bar utilities and command implementations
22+
- file-formats/world-data/wow-adt model export
23+
- **Code Quality**: Used if-let patterns instead of is_some()/unwrap() combinations
24+
- warcraft-rs/src/commands/adt.rs: blend mesh header access
25+
- file-formats/world-data/wow-adt/src/adt_set.rs: optional file loading (tex0, obj0, lod)
26+
27+
### Added
28+
29+
- **CI**: Added Dependabot configuration for automated dependency updates
30+
- Weekly dependency checks on Mondays
31+
- Ignore major binrw updates to maintain compatibility
32+
- **CI**: Added nextest configuration with default and CI profiles
33+
- Configured slow timeouts and reuse-build settings
34+
- Separate CI profile for stricter timeouts
35+
- **Security**: Enhanced cargo-deny security advisory documentation
36+
- Added detailed justifications for RUSTSEC-2023-0071 and RUSTSEC-2024-0436
37+
- Documented dependency trees and review dates for ignored advisories
38+
1139
## [0.6.1] - 2026-01-20
1240

1341
### Fixed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Our CI/CD pipeline automatically runs the following checks on all pull requests:
114114

115115
2. **Test Matrix**:
116116
- Runs on Linux, Windows, and macOS
117-
- Tests with Rust stable, beta, and MSRV (1.86.0)
117+
- Tests with Rust stable, beta, and MSRV (1.92.0)
118118
- Tests with all features and no default features
119119

120120
3. **Documentation**:

0 commit comments

Comments
 (0)