Decision Workspace
pointer-identity vs intptr vs ref_eq
Side-by-side comparison of Rust crates
39
pointer-identity
growingv0.1.1
Wrapper type to treat the pointer address of types as identity rather than the value
57
intptr
stablev1.0.1
Explicitly sized, typed pointers to memory outside the current address space.
43
ref_eq
growingv1.0.0
Determine if two borrowed pointers point to the same thing.
Core Metrics
| pointer-identity | intptr | ref_eq | |
|---|---|---|---|
| Health Score | 39 | 57 | 43 |
| Total Downloads | 3.0K | 15.5K | 11.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 8 |
| Releases | 2 | 10 | 2 |
| Last Updated | 1054d ago | 16d ago | 3688d ago |
| Age | 2y 10m | 6y 9m | 10y 1m |
Health Breakdown
pointer-identity
Maintenance
4
Quality
16
Community
5
Popularity
4
Documentation
10
intptr
Maintenance
15
Quality
16
Community
6
Popularity
5
Documentation
15
ref_eq
Maintenance
3
Quality
21
Community
6
Popularity
5
Documentation
8
Technical Details
| pointer-identity | intptr | ref_eq | |
|---|---|---|---|
| Version | 0.1.1 | 1.0.1 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT/Apache-2.0 |
| Dependencies | 6 | 2 | 0 |
| Crate Size | 5KB | 7KB | 844B |
| Features | 3 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | — |
| MSRV | — | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •intptr leads with a health score of 57/100, but none of the options score above 80.
- •⚠ pointer-identity, ref_eq have not been updated in over a year.
- •pointer-identity is pre-1.0 — API may change.