Decision Workspace
cargo-cache vs cargo-trim vs cargo-clean-targets
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
53
cargo-trim
growingv0.17.0
Binary application to cleanup $CARGO_HOME cache
51
cargo-clean-targets
experimentalv0.1.2
Cargo subcommand: strip target/ caches across a tree, keep only compiled binaries
Core Metrics
| cargo-cache | cargo-trim | cargo-clean-targets | |
|---|---|---|---|
| Health Score | 47 | 53 | 51 |
| Total Downloads | 3.1M | 51.6K | 154 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 26 | 36 | 3 |
| Last Updated | 1489d ago | 7d ago | 164d ago |
| Age | 7y 11m | 7y 7m | 5m |
Health Breakdown
cargo-cache
Maintenance
7
Quality
14
Community
6
Popularity
8
Documentation
12
cargo-trim
Maintenance
19
Quality
13
Community
5
Popularity
6
Documentation
10
cargo-clean-targets
Maintenance
12
Quality
15
Community
6
Popularity
3
Documentation
15
Technical Details
| cargo-cache | cargo-trim | cargo-clean-targets | |
|---|---|---|---|
| Version | 0.8.3 | 0.17.0 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT | MIT |
| Dependencies | 21 | 9 | 0 |
| Crate Size | 244KB | 41KB | 11KB |
| Features | 5 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.57 | — | 1.74 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cargo-trim leads with a health score of 53/100, but none of the options score above 80.
- •cargo-cache has the most downloads (3.1M), suggesting wider adoption.
- •⚠ cargo-cache has not been updated in over a year.