Decision Workspace
atomic_non_null vs maybe_null vs ptxr
Side-by-side comparison of Rust crates
47
atomic_non_null
growingv0.4.0
An atomic wrapper around NonNull
47
maybe_null
growingv0.2.0
A pointer type for handling potentially null values without accidental dereference
60
ptxr
experimentalv1.0.0-rc4
unifies *const/*mut pointers using the trait system
Core Metrics
| atomic_non_null | maybe_null | ptxr | |
|---|---|---|---|
| Health Score | 47 | 47 | 60 |
| Total Downloads | 3.5K | 3.3K | 57 |
| 30d Downloads | 6 | 7 | 6 |
| Dependents | 0 | 0 | 0 |
| Releases | 4 | 4 | 4 |
| Last Updated | 478d ago | 478d ago | 45d ago |
| Age | 1y 3m | 1y 3m | 1m |
Health Breakdown
atomic_non_null
Maintenance
13
Quality
16
Community
6
Popularity
4
Documentation
8
maybe_null
Maintenance
13
Quality
16
Community
6
Popularity
4
Documentation
8
ptxr
Maintenance
16
Quality
21
Community
6
Popularity
2
Documentation
15
Technical Details
| atomic_non_null | maybe_null | ptxr | |
|---|---|---|---|
| Version | 0.4.0 | 0.2.0 | 1.0.0-rc4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | non-standard | non-standard | MIT |
| Dependencies | 0 | 0 | 1 |
| Crate Size | 3KB | 4KB | 38KB |
| Features | 0 | 0 | 10 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •ptxr leads with a health score of 60/100, but none of the options score above 80.
- •atomic_non_null has the most downloads (3.5K), suggesting wider adoption.
- •⚠ atomic_non_null, maybe_null have not been updated in over a year.
- •atomic_non_null, maybe_null are pre-1.0 — API may change.