Decision Workspace
nonzero_lit vs ranch vs your_literals
Side-by-side comparison of Rust crates
49
nonzero_lit
growingv0.1.2
Easy, safe, and fully zero-cost NonZero constants and literals.
50
ranch
experimentalv0.6.0
Ranged integer types and math
50
your_literals
experimentalv0.3.1
This crate provides the ability to define constants and their corresponding macros using literals.
Core Metrics
| nonzero_lit | ranch | your_literals | |
|---|---|---|---|
| Health Score | 49 | 50 | 50 |
| Total Downloads | 331.7K | 1.3K | 195 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 20 | 0 | 3 |
| Releases | 3 | 7 | 7 |
| Last Updated | 1985d ago | 245d ago | 55d ago |
| Age | 5y 5m | 11m | 4m |
Health Breakdown
nonzero_lit
Maintenance
4
Quality
16
Community
10
Popularity
7
Documentation
12
ranch
Maintenance
10
Quality
15
Community
6
Popularity
4
Documentation
15
your_literals
Maintenance
16
Quality
14
Community
7
Popularity
3
Documentation
10
Technical Details
| nonzero_lit | ranch | your_literals | |
|---|---|---|---|
| Version | 0.1.2 | 0.6.0 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 OR CC0-1.0 | Apache-2.0 OR BSL-1.0 OR MIT | MIT |
| Dependencies | 0 | 4 | 3 |
| Crate Size | 12KB | 51KB | 4KB |
| Features | 0 | 4 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •ranch leads with a health score of 50/100, but none of the options score above 80.
- •nonzero_lit has the most downloads (331.7K), suggesting wider adoption.
- •⚠ nonzero_lit has not been updated in over a year.