Decision Workspace
cargo-cache vs cargo-clean-targets vs cargo-trim
Side-by-side comparison of Rust crates
47
cargo-cache
growingv0.8.3
Manage cargo cache ($CARGO_HOME or ~/.cargo/), show sizes and remove directories selectively
50
cargo-clean-targets
experimentalv0.1.2
Cargo subcommand: strip target/ caches across a tree, keep only compiled binaries
49
cargo-trim
growingv0.15.0
Binary application to cleanup $CARGO_HOME cache
Core Metrics
| cargo-cache | cargo-clean-targets | cargo-trim | |
|---|---|---|---|
| Health Score | 47 | 50 | 49 |
| Total Downloads | 3.0M | 74 | 51.2K |
| 30d Downloads | 28.7K | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 26 | 3 | 34 |
| Last Updated | 1352d ago | 26d ago | 52d ago |
| Age | 7y 7m | 26d | 7y 2m |
Health Breakdown
cargo-cache
Maintenance
7
Quality
14
Community
6
Popularity
8
Documentation
12
cargo-clean-targets
Maintenance
12
Quality
15
Community
6
Popularity
2
Documentation
15
cargo-trim
Maintenance
15
Quality
13
Community
5
Popularity
6
Documentation
10
Technical Details
| cargo-cache | cargo-clean-targets | cargo-trim | |
|---|---|---|---|
| Version | 0.8.3 | 0.1.2 | 0.15.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT | MIT |
| Dependencies | 21 | 0 | 9 |
| Crate Size | 244KB | 11KB | 34KB |
| Features | 5 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.57 | 1.74 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cargo-clean-targets leads with a health score of 50/100, but none of the options score above 80.
- •cargo-cache has the most downloads (3.0M), suggesting wider adoption.
- •⚠ cargo-cache has not been updated in over a year.