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.
67
cfg_aliases
growingv0.2.2
A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks.
53
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 | 67 | 53 |
| Total Downloads | 2.9K | 558.9M | 20.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 5.5K | 788 |
| Releases | 2 | 7 | 5 |
| Last Updated | 940d ago | 85d ago | 787d ago |
| Age | 2y 7m | 6y 6m | 5y 7m |
Health Breakdown
debug_code
Maintenance
4
Quality
15
Community
3
Popularity
4
Documentation
10
cfg_aliases
Maintenance
11
Quality
16
Community
20
Popularity
8
Documentation
12
visibility
Maintenance
3
Quality
16
Community
13
Popularity
8
Documentation
13
Technical Details
| debug_code | cfg_aliases | visibility | |
|---|---|---|---|
| Version | 0.1.1 | 0.2.2 | 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 | 7KB | 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 67/100, but none of the options score above 80.
- •cfg_aliases is depended on by 5.5K crates — strongest ecosystem trust.
- •⚠ debug_code, visibility have not been updated in over a year.