Decision Workspace
cargo-mark-sweep vs cargo-hold vs cargo-target-gc
Side-by-side comparison of Rust crates
46
cargo-mark-sweep
experimentalv0.1.1
A mark-and-sweep garbage collector for cargo's target/ directory: keeps every artifact your build configurations resolve to, deletes the orphaned hash variants cargo never cleans up.
57
cargo-hold
stablev1.3.5
cargo-hold: A CI tool to ensure Cargo's incremental compilation is reliable by managing your caches intelligently
52
cargo-target-gc
experimentalv0.1.3
Cargo target-artifact garbage collector: analyze and reclaim target/ build artifacts
Core Metrics
| cargo-mark-sweep | cargo-hold | cargo-target-gc | |
|---|---|---|---|
| Health Score | 46 | 57 | 52 |
| Total Downloads | 18 | 3.9K | 74 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 15 | 4 |
| Last Updated | 23d ago | 25d ago | 14d ago |
| Age | 23d | 1y | 14d |
Health Breakdown
cargo-mark-sweep
Maintenance
12
Quality
14
Community
6
Popularity
2
Documentation
12
cargo-hold
Maintenance
17
Quality
13
Community
8
Popularity
4
Documentation
15
cargo-target-gc
Maintenance
18
Quality
13
Community
6
Popularity
2
Documentation
13
Technical Details
| cargo-mark-sweep | cargo-hold | cargo-target-gc | |
|---|---|---|---|
| Version | 0.1.1 | 1.3.5 | 0.1.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 16 | 7 |
| Crate Size | 21KB | 2.4MB | 77KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.83 | 1.88.0 | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •cargo-hold leads with a health score of 57/100, but none of the options score above 80.
- •cargo-mark-sweep, cargo-target-gc are pre-1.0 — API may change.