Decision Workspace
nonzero-char vs notzero vs nonmax
Side-by-side comparison of Rust crates
47
nonzero-char
growingv0.3.0
Implement NonZeroChar, like NonZeroU32
52
notzero
growingv1.1.0
macro for constructing `std::num::NonZero*` from constants
48
nonmax
growingv0.5.5
Numeric types that cannot hold maximum values
Core Metrics
| nonzero-char | notzero | nonmax | |
|---|---|---|---|
| Health Score | 47 | 52 | 48 |
| Total Downloads | 2.5K | 44.7K | 19.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 1.1K |
| Releases | 6 | 3 | 9 |
| Last Updated | 248d ago | 834d ago | 1055d ago |
| Age | 1y 5m | 2y 11m | 6y |
Health Breakdown
nonzero-char
Maintenance
9
Quality
16
Community
6
Popularity
4
Documentation
12
notzero
Maintenance
5
Quality
21
Community
5
Popularity
6
Documentation
15
nonmax
Maintenance
4
Quality
13
Community
11
Popularity
8
Documentation
12
Technical Details
| nonzero-char | notzero | nonmax | |
|---|---|---|---|
| Version | 0.3.0 | 1.1.0 | 0.5.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | Zlib | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 2 |
| Crate Size | 14KB | 4KB | 11KB |
| Features | 0 | 1 | 2 |
| Yanked % | 0.0% | 0.0% | 11.1% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | 1.89 | 1.79.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •notzero leads with a health score of 52/100, but none of the options score above 80.
- •nonmax has the most downloads (19.4M), suggesting wider adoption.
- •nonmax is depended on by 1.1K crates — strongest ecosystem trust.
- •⚠ notzero, nonmax have not been updated in over a year.
- •nonzero-char, nonmax are pre-1.0 — API may change.