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