Decision Workspace
build_cfg vs cfg_aliases vs libc-cfg
Side-by-side comparison of Rust crates
49
build_cfg
growingv1.1.0
Evaluate cfg() directives in build scripts
67
cfg_aliases
growingv0.2.2
A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks.
55
libc-cfg
growingv0.3.6
A codegen tool for extracting libc cfg
Core Metrics
| build_cfg | cfg_aliases | libc-cfg | |
|---|---|---|---|
| Health Score | 49 | 67 | 55 |
| Total Downloads | 40.7K | 558.9M | 5.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 51 | 5.5K | 0 |
| Releases | 2 | 7 | 6 |
| Last Updated | 1730d ago | 85d ago | 26d ago |
| Age | 5y | 6y 6m | 1y 3m |
Health Breakdown
build_cfg
Maintenance
3
Quality
20
Community
11
Popularity
6
Documentation
9
cfg_aliases
Maintenance
11
Quality
16
Community
20
Popularity
8
Documentation
12
libc-cfg
Maintenance
16
Quality
14
Community
6
Popularity
4
Documentation
15
Technical Details
| build_cfg | cfg_aliases | libc-cfg | |
|---|---|---|---|
| Version | 1.1.0 | 0.2.2 | 0.3.6 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 2 | 0 | 11 |
| Crate Size | 2KB | 7KB | 14KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2024 |
| MSRV | — | — | 1.87 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •cfg_aliases leads with a health score of 67/100, but none of the options score above 80.
- •cfg_aliases is depended on by 5.5K crates — strongest ecosystem trust.
- •⚠ build_cfg has not been updated in over a year.
- •cfg_aliases, libc-cfg are pre-1.0 — API may change.