Decision Workspace
cargo-diet vs cargo-edit vs cargo-edit-9
Side-by-side comparison of Rust crates
62
cargo-diet
stablev1.4.1
Make your crate lean by computing size-optimal include directives for Cargo manifests
68
cargo-edit
growingv0.13.13
Cargo commands for modifying a `Cargo.toml` file..
49
cargo-edit-9
growingv0.9.3
This extends Cargo to allow you to add and remove dependencies by modifying your `Cargo.toml` file from the command line. It contains `cargo add`, `cargo rm`, and `cargo upgrade`.
Core Metrics
| cargo-diet | cargo-edit | cargo-edit-9 | |
|---|---|---|---|
| Health Score | 62 | 68 | 49 |
| Total Downloads | 26.1K | 3.7M | 72.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 29 | 322 | 11 |
| Releases | 21 | 58 | 2 |
| Last Updated | 40d ago | 86d ago | 1299d ago |
| Age | 6y 6m | 10y 10m | 3y 6m |
Health Breakdown
cargo-diet
Maintenance
16
Quality
19
Community
12
Popularity
5
Documentation
10
cargo-edit
Maintenance
14
Quality
14
Community
17
Popularity
8
Documentation
15
cargo-edit-9
Maintenance
4
Quality
15
Community
11
Popularity
6
Documentation
13
Technical Details
| cargo-diet | cargo-edit | cargo-edit-9 | |
|---|---|---|---|
| Version | 1.4.1 | 0.13.13 | 0.9.3 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 16 | 23 | 28 |
| Crate Size | 23KB | 79KB | 64KB |
| Features | 2 | 8 | 10 |
| Yanked % | 0.0% | 1.7% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | 1.92 | — |
| Owners | 2 | 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-edit-9 has not been updated in over a year.
- •cargo-edit, cargo-edit-9 are pre-1.0 — API may change.