Decision Workspace
ret_ty_attr vs arg_attr vs cfg_aliases
Side-by-side comparison of Rust crates
42
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.
60
cfg_aliases
growingv0.2.1
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 | 42 | 38 | 60 |
| Total Downloads | 3.9K | 1.7K | 245.8M |
| 30d Downloads | 5 | 3 | 27.2M |
| Dependents | 0 | 0 | 3.4K |
| Releases | 3 | 1 | 6 |
| Last Updated | 905d ago | 907d ago | 686d ago |
| Age | 2y 5m | 2y 5m | 5y 11m |
Health Breakdown
ret_ty_attr
Maintenance
5
Quality
15
Community
5
Popularity
4
Documentation
13
arg_attr
Maintenance
1
Quality
15
Community
5
Popularity
4
Documentation
13
cfg_aliases
Maintenance
4
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.1 |
| 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 | 6KB |
| 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 60/100, but none of the options score above 80.
- •cfg_aliases is depended on by 3.4K crates — strongest ecosystem trust.
- •⚠ ret_ty_attr, arg_attr, cfg_aliases have not been updated in over a year.