Decision Workspace
cfg-vis vs attr_alias vs cfg-iif
Side-by-side comparison of Rust crates
37
cfg-vis
growingv0.3.0
A macro to support `#[cfg()]` on visibility.
52
attr_alias
growingv0.1.5
Reduce attribute repetition with aliases
51
cfg-iif
growingv0.2.9
A macro for defining `#[cfg]` `if-else` functions.
Core Metrics
| cfg-vis | attr_alias | cfg-iif | |
|---|---|---|---|
| Health Score | 37 | 52 | 51 |
| Total Downloads | 341.5K | 622.8K | 179.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 77 | 3 | 27 |
| Releases | 5 | 6 | 10 |
| Last Updated | 1337d ago | 244d ago | 151d ago |
| Age | 3y 9m | 2y 9m | 5y 3m |
Health Breakdown
cfg-vis
Maintenance
5
Quality
8
Community
7
Popularity
7
Documentation
10
attr_alias
Maintenance
8
Quality
17
Community
8
Popularity
7
Documentation
12
cfg-iif
Maintenance
10
Quality
17
Community
6
Popularity
6
Documentation
12
Technical Details
| cfg-vis | attr_alias | cfg-iif | |
|---|---|---|---|
| Version | 0.3.0 | 0.1.5 | 0.2.9 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 0 | 0 |
| Crate Size | 6KB | 11KB | 17KB |
| Features | 0 | 1 | 1 |
| Yanked % | 40.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 52/100, but none of the options score above 80.
- •⚠ cfg-vis has not been updated in over a year.