v1.3.1
cargo-hold v1.3.1
This patch release tightens Cargo registry garbage collection so it respects the active Cargo home, reports cleanup work more clearly, and avoids deleting Cargo authentication files. It also fixes GC timestamp persistence from heave runs and refreshes dependencies while preserving Rust 1.88.0 compatibility.
Full Changelog: v1.3.0...v1.3.1
Highlights
Cargo Registry GC
cargo hold heavenow honorsCARGO_HOMEwhen cleaning the registry cache, so non-default Cargo homes are handled correctly.- Registry cleanup output now tracks files, directories, and bytes removed.
- GC no longer deletes
credentials.toml, preserving private registry tokens for crates.io, GitHub Packages, and other private registries.
Timestamp Handling
heavenow records the last GC timestamp instead of advancing it duringstow, improving artifact retention behavior across CI runs.- Tests and README guidance were updated to cover the GC timestamp semantics.
Maintenance
- Updated direct Rust dependency floors and refreshed the lockfile while keeping compatibility with Rust 1.88.0.
- Improved integration test Cargo resolution so temporary
HOMEandCARGO_HOMEsetups use the real Cargo binary reliably.
Pull Requests
Features
- feat: honor CARGO_HOME in registry GC (#45)
Bug Fixes
Maintenance
- chore(deps): bump tempfile from 3.23.0 to 3.24.0 in the actions group (#47)
- chore: update dependencies (#55)
- chore: bump version (#56)
New Contributors
- @mooncitydev made their first contribution in #54.