Decision Workspace
cfgenius vs attr_alias vs cfg-iif
Side-by-side comparison of Rust crates
44
cfgenius
growingv0.1.1
Conditional compilation with macro support in Rust
57
attr_alias
growingv0.1.5
Reduce attribute repetition with aliases
50
cfg-iif
growingv0.2.8
A macro for defining `#[cfg]` `if-else` functions.
Core Metrics
| cfgenius | attr_alias | cfg-iif | |
|---|---|---|---|
| Health Score | 44 | 57 | 50 |
| Total Downloads | 18.1K | 136.1K | 177.4K |
| 30d Downloads | 842 | 20.1K | 205 |
| Dependents | 17 | 3 | 21 |
| Releases | 2 | 6 | 9 |
| Last Updated | 705d ago | 48d ago | 184d ago |
| Age | 2y 10m | 2y 2m | 4y 9m |
Health Breakdown
cfgenius
Maintenance
4
Quality
16
Community
9
Popularity
5
Documentation
10
attr_alias
Maintenance
14
Quality
17
Community
8
Popularity
6
Documentation
12
cfg-iif
Maintenance
9
Quality
17
Community
6
Popularity
6
Documentation
12
Technical Details
| cfgenius | attr_alias | cfg-iif | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.5 | 0.2.8 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 5KB | 11KB | 15KB |
| Features | 0 | 1 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.70.0 | 1.60.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •attr_alias leads with a health score of 57/100, but none of the options score above 80.
- •cfg-iif has the most downloads (177.4K), suggesting wider adoption.
- •⚠ cfgenius has not been updated in over a year.