Decision Workspace
cfg_rust_features vs autocfg vs rustversion-detect
Side-by-side comparison of Rust crates
44
cfg_rust_features
growingv0.1.2
Set cfg options according to probing for Rust compiler, language, and library features.
63
autocfg
growingv1.5.1
Automatic cfg for Rust compiler features
47
rustversion-detect
growingv0.3.1
Parses the output of rustc --version for use in build scripts
Core Metrics
| cfg_rust_features | autocfg | rustversion-detect | |
|---|---|---|---|
| Health Score | 44 | 63 | 47 |
| Total Downloads | 12.9K | 1.4B | 11.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 39 | 1.2K | 6 |
| Releases | 3 | 18 | 9 |
| Last Updated | 938d ago | 140d ago | 69d ago |
| Age | 4y 6m | 8y 4m | 2y 3m |
Health Breakdown
cfg_rust_features
Maintenance
4
Quality
15
Community
10
Popularity
5
Documentation
10
autocfg
Maintenance
9
Quality
18
Community
15
Popularity
8
Documentation
13
rustversion-detect
Maintenance
14
Quality
10
Community
7
Popularity
5
Documentation
11
Technical Details
| cfg_rust_features | autocfg | rustversion-detect | |
|---|---|---|---|
| Version | 0.1.2 | 1.5.1 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Unlicense | Apache-2.0 OR MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 0 | 0 |
| Crate Size | 11KB | 19KB | 17KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 5.6% | 33.3% |
| Edition | — | — | 2018 |
| MSRV | 1.0.0 | 1.0 | 1.31 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •autocfg leads with a health score of 63/100, but none of the options score above 80.
- •autocfg is depended on by 1.2K crates — strongest ecosystem trust.
- •⚠ cfg_rust_features has not been updated in over a year.
- •cfg_rust_features, rustversion-detect are pre-1.0 — API may change.