Decision Workspace
smart-ptr vs ptrait vs bitptr
Side-by-side comparison of Rust crates
38
smart-ptr
growingv0.5.0
Alternative smart pointers for Rust
48
ptrait
experimentalv0.1.0
A small crate providing traits for pointer-like types, such as references and smart pointers.
46
bitptr
experimentalv0.2.1
`core::ptr` for bit offsets
Core Metrics
| smart-ptr | ptrait | bitptr | |
|---|---|---|---|
| Health Score | 38 | 48 | 46 |
| Total Downloads | 13.2K | 15 | 1.3K |
| 30d Downloads | 44 | 4 | 6 |
| Dependents | 12 | 0 | 0 |
| Releases | 7 | 1 | 3 |
| Last Updated | 872d ago | 32d ago | 275d ago |
| Age | 6y 5m | 1m | 9m |
Health Breakdown
smart-ptr
Maintenance
4
Quality
17
Community
5
Popularity
5
Documentation
7
ptrait
Maintenance
11
Quality
17
Community
6
Popularity
1
Documentation
13
bitptr
Maintenance
9
Quality
15
Community
6
Popularity
4
Documentation
12
Technical Details
| smart-ptr | ptrait | bitptr | |
|---|---|---|---|
| Version | 0.5.0 | 0.1.0 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | BSL-1.0 | MIT | LGPL-3.0-only |
| Dependencies | 0 | 2 | 0 |
| Crate Size | 4KB | 6KB | 9KB |
| Features | 1 | 5 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | — | 1.87 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •ptrait leads with a health score of 48/100, but none of the options score above 80.
- •smart-ptr has the most downloads (13.2K), suggesting wider adoption.
- •⚠ smart-ptr has not been updated in over a year.