Decision Workspace
cargo-offline vs target-spec vs vergen
Side-by-side comparison of Rust crates
46
cargo-offline
growingv0.1.6
`cargo-offline`是标准`cargo`命令的包装器。其被用来,根据距离`cargo-offline`命令执行目录最近的`Cargo.toml`文件是否曾经被修改,来给被包装的`cargo`命令聪明地添加`--offline`命令行参数(即,离线编译)。
77
target-spec
stablev3.5.7
Evaluate Cargo.toml target specifications
75
vergen
stablev9.1.0
Generate 'cargo:rustc-env' instructions via 'build.rs' for use in your code via the 'env!' macro
Core Metrics
| cargo-offline | target-spec | vergen | |
|---|---|---|---|
| Health Score | 46 | 77 | 75 |
| Total Downloads | 8.9K | 10.4M | 37.2M |
| 30d Downloads | 10 | 756.7K | 2.1M |
| Dependents | 0 | 302 | 4.4K |
| Releases | 7 | 46 | 126 |
| Last Updated | 1223d ago | 56d ago | today |
| Age | 3y 4m | 6y | 11y 1m |
Health Breakdown
cargo-offline
Maintenance
10
Quality
16
Community
5
Popularity
5
Documentation
10
target-spec
Maintenance
17
Quality
19
Community
18
Popularity
8
Documentation
15
vergen
Maintenance
19
Quality
18
Community
15
Popularity
8
Documentation
15
Technical Details
| cargo-offline | target-spec | vergen | |
|---|---|---|---|
| Version | 0.1.6 | 3.5.7 | 9.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 8 | 13 |
| Crate Size | 12KB | 32KB | 33KB |
| Features | 3 | 3 | 7 |
| Yanked % | 0.0% | 2.2% | 6.3% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.86 | 1.88.0 |
| Owners | 1 | 3 (team) | 1 |
Links
Quick Verdict
- •target-spec leads with a health score of 77/100, but none of the options score above 80.
- •vergen has the most downloads (37.2M), suggesting wider adoption.
- •vergen is depended on by 4.4K crates — strongest ecosystem trust.
- •⚠ cargo-offline has not been updated in over a year.
- •cargo-offline is pre-1.0 — API may change.