Skip to content

v1.3.1

Choose a tag to compare

@github-actions github-actions released this 06 May 16:07
· 14 commits to main since this release
v1.3.1
674300f

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 heave now honors CARGO_HOME when 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

  • heave now records the last GC timestamp instead of advancing it during stow, 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 HOME and CARGO_HOME setups use the real Cargo binary reliably.

Pull Requests

Features

  • feat: honor CARGO_HOME in registry GC (#45)

Bug Fixes

  • fix: record GC timestamp in heave (#46)
  • stop deleting cargo credentials during gc (#54)

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