Decision Workspace
nonnull-mut vs orx-self-or vs constptr
Side-by-side comparison of Rust crates
46
nonnull-mut
experimentalv0.1.2
NonNull<T>, but T is invariant like *mut T
56
orx-self-or
growingv1.2.0
Defines SoR (self-or-ref) and SoM (self-or-mut) traits that are useful in reducing code duplication and pushing forward the ownership transfer decision from the type designer to the consumer.
52
constptr
growingv0.3.1
NonNull without mutability
Core Metrics
| nonnull-mut | orx-self-or | constptr | |
|---|---|---|---|
| Health Score | 46 | 56 | 52 |
| Total Downloads | 1.2K | 1.0M | 86.3K |
| 30d Downloads | 5 | 151.8K | 9.2K |
| Dependents | 0 | 26 | 33 |
| Releases | 3 | 4 | 4 |
| Last Updated | 211d ago | 356d ago | 349d ago |
| Age | 9m | 1y 3m | 3y |
Health Breakdown
nonnull-mut
Maintenance
11
Quality
15
Community
6
Popularity
4
Documentation
10
orx-self-or
Maintenance
9
Quality
20
Community
10
Popularity
7
Documentation
10
constptr
Maintenance
6
Quality
18
Community
10
Popularity
6
Documentation
12
Technical Details
| nonnull-mut | orx-self-or | constptr | |
|---|---|---|---|
| Version | 0.1.2 | 1.2.0 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 4KB | 8KB | 6KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | — | 1.84.1 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •orx-self-or leads with a health score of 56/100, but none of the options score above 80.
- •nonnull-mut, constptr are pre-1.0 — API may change.