Decision Workspace
build_cfg vs cfg_aliases vs attr_alias
Side-by-side comparison of Rust crates
48
build_cfg
growingv1.1.0
Evaluate cfg() directives in build scripts
60
cfg_aliases
growingv0.2.1
A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks.
57
attr_alias
growingv0.1.5
Reduce attribute repetition with aliases
Core Metrics
| build_cfg | cfg_aliases | attr_alias | |
|---|---|---|---|
| Health Score | 48 | 60 | 57 |
| Total Downloads | 34.2K | 245.8M | 136.1K |
| 30d Downloads | 1.4K | 26.3M | 20.1K |
| Dependents | 47 | 3.4K | 3 |
| Releases | 2 | 6 | 6 |
| Last Updated | 1534d ago | 686d ago | 48d ago |
| Age | 4y 6m | 5y 11m | 2y 2m |
Health Breakdown
build_cfg
Maintenance
3
Quality
20
Community
11
Popularity
5
Documentation
9
cfg_aliases
Maintenance
4
Quality
16
Community
20
Popularity
8
Documentation
12
attr_alias
Maintenance
14
Quality
17
Community
8
Popularity
6
Documentation
12
Technical Details
| build_cfg | cfg_aliases | attr_alias | |
|---|---|---|---|
| Version | 1.1.0 | 0.2.1 | 0.1.5 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 0 | 0 |
| Crate Size | 2KB | 6KB | 11KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | 1.70.0 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •cfg_aliases leads with a health score of 60/100, but none of the options score above 80.
- •cfg_aliases is depended on by 3.4K crates — strongest ecosystem trust.
- •⚠ build_cfg, cfg_aliases have not been updated in over a year.
- •cfg_aliases, attr_alias are pre-1.0 — API may change.