Decision Workspace
cargo-unify vs cargo-onefile vs cargo-expand
Side-by-side comparison of Rust crates
44
cargo-unify
growingv0.1.5
A tool to unify crates into single buildable files.
37
cargo-onefile
growingv0.2.1
A cargo subcommand to bundle a Rust project into a single file
70
cargo-expand
stablev1.0.122
Wrapper around rustc -Zunpretty=expanded. Shows the result of macro expansion and #[derive] expansion.
Core Metrics
| cargo-unify | cargo-onefile | cargo-expand | |
|---|---|---|---|
| Health Score | 44 | 37 | 70 |
| Total Downloads | 3.8K | 1.9K | 2.8M |
| 30d Downloads | 0 | 0 | 136.3K |
| Dependents | 0 | 0 | 36 |
| Releases | 5 | 2 | 177 |
| Last Updated | 490d ago | 496d ago | 7d ago |
| Age | 1y 4m | 1y 4m | 9y 11m |
Health Breakdown
cargo-unify
Maintenance
13
Quality
14
Community
3
Popularity
4
Documentation
10
cargo-onefile
Maintenance
6
Quality
14
Community
3
Popularity
4
Documentation
10
cargo-expand
Maintenance
19
Quality
18
Community
10
Popularity
8
Documentation
15
Technical Details
| cargo-unify | cargo-onefile | cargo-expand | |
|---|---|---|---|
| Version | 0.1.5 | 0.2.1 | 1.0.122 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 4 | 7 | 20 |
| Crate Size | 7KB | 14KB | 33KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 1.1% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | — | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cargo-expand leads with a health score of 70/100, but none of the options score above 80.
- •⚠ cargo-unify, cargo-onefile have not been updated in over a year.
- •cargo-unify, cargo-onefile are pre-1.0 — API may change.