Decision Workspace
cargo-crate vs cargo-edit vs cargo-diet
Side-by-side comparison of Rust crates
38
cargo-crate
growingv0.2.5
A set of crate related cargo commands. You can for instance get the information about a crate, as text or json, including the owners of a crate and its versions.
68
cargo-edit
growingv0.13.13
Cargo commands for modifying a `Cargo.toml` file..
62
cargo-diet
stablev1.4.1
Make your crate lean by computing size-optimal include directives for Cargo manifests
Core Metrics
| cargo-crate | cargo-edit | cargo-diet | |
|---|---|---|---|
| Health Score | 38 | 68 | 62 |
| Total Downloads | 18.7K | 3.7M | 26.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 322 | 29 |
| Releases | 15 | 58 | 21 |
| Last Updated | 660d ago | 86d ago | 40d ago |
| Age | 4y 5m | 10y 10m | 6y 6m |
Health Breakdown
cargo-crate
Maintenance
6
Quality
11
Community
3
Popularity
5
Documentation
13
cargo-edit
Maintenance
14
Quality
14
Community
17
Popularity
8
Documentation
15
cargo-diet
Maintenance
16
Quality
19
Community
12
Popularity
5
Documentation
10
Technical Details
| cargo-crate | cargo-edit | cargo-diet | |
|---|---|---|---|
| Version | 0.2.5 | 0.13.13 | 1.4.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | Apache-2.0 OR MIT | MIT |
| Dependencies | 9 | 23 | 16 |
| Crate Size | 24KB | 79KB | 23KB |
| Features | 2 | 8 | 2 |
| Yanked % | 13.3% | 1.7% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.92 | — |
| Owners | 1 | 4 | 2 |
Links
Quick Verdict
- •cargo-edit leads with a health score of 68/100, but none of the options score above 80.
- •cargo-edit is depended on by 322 crates — strongest ecosystem trust.
- •⚠ cargo-crate has not been updated in over a year.
- •cargo-crate, cargo-edit are pre-1.0 — API may change.