Decision Workspace
rustversion-detect vs cfg_rust_features vs cfg-expr
Side-by-side comparison of Rust crates
47
rustversion-detect
growingv0.3.1
Parses the output of rustc --version for use in build scripts
44
cfg_rust_features
growingv0.1.2
Set cfg options according to probing for Rust compiler, language, and library features.
73
cfg-expr
growingv0.20.10
A parser and evaluator for Rust `cfg()` expressions.
Core Metrics
| rustversion-detect | cfg_rust_features | cfg-expr | |
|---|---|---|---|
| Health Score | 47 | 44 | 73 |
| Total Downloads | 11.1K | 12.9K | 110.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 39 | 406 |
| Releases | 9 | 3 | 52 |
| Last Updated | 69d ago | 938d ago | 8d ago |
| Age | 2y 3m | 4y 6m | 6y 9m |
Health Breakdown
rustversion-detect
Maintenance
14
Quality
10
Community
7
Popularity
5
Documentation
11
cfg_rust_features
Maintenance
4
Quality
15
Community
10
Popularity
5
Documentation
10
cfg-expr
Maintenance
21
Quality
17
Community
12
Popularity
8
Documentation
15
Technical Details
| rustversion-detect | cfg_rust_features | cfg-expr | |
|---|---|---|---|
| Version | 0.3.1 | 0.1.2 | 0.20.10 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Unlicense | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 3 |
| Crate Size | 17KB | 11KB | 46KB |
| Features | 0 | 0 | 2 |
| Yanked % | 33.3% | 0.0% | 0.0% |
| Edition | 2018 | — | 2024 |
| MSRV | 1.31 | 1.0.0 | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cfg-expr leads with a health score of 73/100, but none of the options score above 80.
- •cfg-expr is depended on by 406 crates — strongest ecosystem trust.
- •⚠ cfg_rust_features has not been updated in over a year.