Decision Workspace
aligned_ptr vs rawpointer vs nonnull-mut
Side-by-side comparison of Rust crates
35
aligned_ptr
growingv0.1.0
Wrappers of functions defined in core::ptr and core::slice modules with alignment and null checks
49
rawpointer
growingv0.2.1
Extra methods for raw pointers and `NonNull<T>`. For example `.post_inc()` and `.pre_dec()` (c.f. `ptr++` and `--ptr`), `offset` and `add` for `NonNull<T>`, and the function `ptrdistance`.
46
nonnull-mut
experimentalv0.1.2
NonNull<T>, but T is invariant like *mut T
Core Metrics
| aligned_ptr | rawpointer | nonnull-mut | |
|---|---|---|---|
| Health Score | 35 | 49 | 46 |
| Total Downloads | 10.3K | 85.6M | 1.2K |
| 30d Downloads | 49 | 6.6M | 5 |
| Dependents | 0 | 167 | 0 |
| Releases | 1 | 3 | 3 |
| Last Updated | 1752d ago | 2388d ago | 211d ago |
| Age | 4y 9m | 9y 3m | 9m |
Health Breakdown
aligned_ptr
Maintenance
1
Quality
16
Community
4
Popularity
5
Documentation
9
rawpointer
Maintenance
3
Quality
16
Community
11
Popularity
8
Documentation
11
nonnull-mut
Maintenance
11
Quality
15
Community
6
Popularity
4
Documentation
10
Technical Details
| aligned_ptr | rawpointer | nonnull-mut | |
|---|---|---|---|
| Version | 0.1.0 | 0.2.1 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 10KB | 7KB | 4KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | — | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •rawpointer leads with a health score of 49/100, but none of the options score above 80.
- •rawpointer is depended on by 167 crates — strongest ecosystem trust.
- •⚠ aligned_ptr, rawpointer have not been updated in over a year.