Decision Workspace
debug_code vs cfg_aliases vs visibility
Side-by-side comparison of Rust crates
36
debug_code
growingv0.1.1
The util to remove code when not debug build.
60
cfg_aliases
growingv0.2.1
A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks.
52
visibility
growingv0.1.1
Attribute to override the visibility of items (useful in conjunction with cfg_attr)
Core Metrics
| debug_code | cfg_aliases | visibility | |
|---|---|---|---|
| Health Score | 36 | 60 | 52 |
| Total Downloads | 2.9K | 245.8M | 12.1M |
| 30d Downloads | 5 | 26.3M | 1.4M |
| Dependents | 0 | 3.4K | 554 |
| Releases | 2 | 6 | 5 |
| Last Updated | 744d ago | 686d ago | 591d ago |
| Age | 2y | 5y 11m | 5y |
Health Breakdown
debug_code
Maintenance
4
Quality
15
Community
3
Popularity
4
Documentation
10
cfg_aliases
Maintenance
4
Quality
16
Community
20
Popularity
8
Documentation
12
visibility
Maintenance
3
Quality
16
Community
12
Popularity
8
Documentation
13
Technical Details
| debug_code | cfg_aliases | visibility | |
|---|---|---|---|
| Version | 0.1.1 | 0.2.1 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT | Zlib OR MIT OR Apache-2.0 |
| Dependencies | 3 | 0 | 3 |
| Crate Size | 7KB | 6KB | 8KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | — | — |
| 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.
- •⚠ debug_code, cfg_aliases, visibility have not been updated in over a year.