Decision Workspace
nonzero_macros vs generic-upper-bound vs url-static
Side-by-side comparison of Rust crates
55
nonzero_macros
experimentalv0.16.1
Macros for compile-time checked `NonZero` integers and safe `NonNull` pointer creation in `no_std` environments.
58
generic-upper-bound
growingv3.1.2
Stable workaround for internal uses of generic-const-exprs
58
url-static
growingv1.0.0
Simple macro for compile-time URL validation
Core Metrics
| nonzero_macros | generic-upper-bound | url-static | |
|---|---|---|---|
| Health Score | 55 | 58 | 58 |
| Total Downloads | 43.1K | 5.0K | 31.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 4 | 19 | 2 |
| Releases | 2 | 11 | 7 |
| Last Updated | 59d ago | 171d ago | 27d ago |
| Age | 2m | 1y 4m | 7m |
Health Breakdown
nonzero_macros
Maintenance
11
Quality
15
Community
8
Popularity
6
Documentation
15
generic-upper-bound
Maintenance
11
Quality
19
Community
9
Popularity
4
Documentation
15
url-static
Maintenance
17
Quality
17
Community
7
Popularity
5
Documentation
12
Technical Details
| nonzero_macros | generic-upper-bound | url-static | |
|---|---|---|---|
| Version | 0.16.1 | 3.1.2 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 1 | 5 |
| Crate Size | 8KB | 6KB | 12KB |
| Features | 1 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.93.1 | 1.78 | 1.85.1 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •generic-upper-bound leads with a health score of 58/100, but none of the options score above 80.
- •nonzero_macros has the most downloads (43.1K), suggesting wider adoption.
- •nonzero_macros is pre-1.0 — API may change.