Decision Workspace
nonzero_lit vs ranch vs asn1_len
Side-by-side comparison of Rust crates
47
nonzero_lit
growingv0.1.2
Easy, safe, and fully zero-cost NonZero constants and literals.
56
ranch
experimentalv0.6.0
Ranged integer types and math
51
asn1_len
growingv2.0.0
A utilities to convert back and forth between unsigned int and ASN.1 Length.
Core Metrics
| nonzero_lit | ranch | asn1_len | |
|---|---|---|---|
| Health Score | 47 | 56 | 51 |
| Total Downloads | 170.6K | 1.1K | 1.0K |
| 30d Downloads | 32.4K | 30 | 5 |
| Dependents | 8 | 0 | 0 |
| Releases | 3 | 7 | 3 |
| Last Updated | 1789d ago | 49d ago | 200d ago |
| Age | 4y 11m | 5m | 7m |
Health Breakdown
nonzero_lit
Maintenance
4
Quality
16
Community
9
Popularity
6
Documentation
12
ranch
Maintenance
16
Quality
15
Community
6
Popularity
4
Documentation
15
asn1_len
Maintenance
11
Quality
20
Community
6
Popularity
4
Documentation
10
Technical Details
| nonzero_lit | ranch | asn1_len | |
|---|---|---|---|
| Version | 0.1.2 | 0.6.0 | 2.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 OR CC0-1.0 | Apache-2.0 OR BSL-1.0 OR MIT | MIT |
| Dependencies | 0 | 4 | 5 |
| Crate Size | 12KB | 51KB | 10KB |
| Features | 0 | 4 | 5 |
| 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 56/100, but none of the options score above 80.
- •nonzero_lit has the most downloads (170.6K), suggesting wider adoption.
- •⚠ nonzero_lit has not been updated in over a year.
- •nonzero_lit, ranch are pre-1.0 — API may change.