Decision Workspace
non-zero vs notzero vs nonmax
Side-by-side comparison of Rust crates
42
non-zero
growingv0.2.0
A macro for creating constant non-zero integers (with type inference).
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
| non-zero | notzero | nonmax | |
|---|---|---|---|
| Health Score | 42 | 52 | 48 |
| Total Downloads | 2.8K | 44.7K | 19.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 1.1K |
| Releases | 2 | 3 | 9 |
| Last Updated | 243d ago | 834d ago | 1055d ago |
| Age | 1y 5m | 2y 11m | 6y |
Health Breakdown
non-zero
Maintenance
8
Quality
15
Community
5
Popularity
4
Documentation
10
notzero
Maintenance
5
Quality
21
Community
5
Popularity
6
Documentation
15
nonmax
Maintenance
4
Quality
13
Community
11
Popularity
8
Documentation
12
Technical Details
| non-zero | notzero | nonmax | |
|---|---|---|---|
| Version | 0.2.0 | 1.1.0 | 0.5.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | Zlib | MIT OR Apache-2.0 |
| Dependencies | 1 | 2 | 2 |
| Crate Size | 10KB | 4KB | 11KB |
| Features | 0 | 1 | 2 |
| Yanked % | 0.0% | 0.0% | 11.1% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | — | 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.
- •non-zero, nonmax are pre-1.0 — API may change.