Decision Workspace
ret_ty_attr vs arg_attr vs cfg_aliases
Side-by-side comparison of Rust crates
41
ret_ty_attr
growingv0.1.2
Specify the return type depending on configuration conditional checks.
38
arg_attr
growingv0.1.0
Specify the accepted arguments depending on configuration conditional checks.
67
cfg_aliases
growingv0.2.2
A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks.
Core Metrics
| ret_ty_attr | arg_attr | cfg_aliases | |
|---|---|---|---|
| Health Score | 41 | 38 | 67 |
| Total Downloads | 3.9K | 1.7K | 558.9M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 5.5K |
| Releases | 3 | 1 | 7 |
| Last Updated | 1102d ago | 1103d ago | 85d ago |
| Age | 3y | 3y | 6y 6m |
Health Breakdown
ret_ty_attr
Maintenance
4
Quality
15
Community
5
Popularity
4
Documentation
13
arg_attr
Maintenance
1
Quality
15
Community
5
Popularity
4
Documentation
13
cfg_aliases
Maintenance
11
Quality
16
Community
20
Popularity
8
Documentation
12
Technical Details
| ret_ty_attr | arg_attr | cfg_aliases | |
|---|---|---|---|
| Version | 0.1.2 | 0.1.0 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 3 | 3 | 0 |
| Crate Size | 2KB | 2KB | 7KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 2 (team) |
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.
- •⚠ ret_ty_attr, arg_attr have not been updated in over a year.