Decision Workspace
ptrait vs by_address vs relative
Side-by-side comparison of Rust crates
48
ptrait
experimentalv0.1.0
A small crate providing traits for pointer-like types, such as references and smart pointers.
56
by_address
growingv1.2.1
Wrapper for comparing and hashing pointers by address
47
relative
growingv0.2.2
A type to wrap vtable references such that they can be safely sent between other processes running the same binary.
Core Metrics
| ptrait | by_address | relative | |
|---|---|---|---|
| Health Score | 48 | 56 | 47 |
| Total Downloads | 15 | 8.1M | 61.4K |
| 30d Downloads | 4 | 698.1K | 947 |
| Dependents | 0 | 637 | 31 |
| Releases | 1 | 12 | 9 |
| Last Updated | 32d ago | 730d ago | 2318d ago |
| Age | 1m | 8y 5m | 7y 8m |
Health Breakdown
ptrait
Maintenance
11
Quality
17
Community
6
Popularity
1
Documentation
13
by_address
Maintenance
4
Quality
17
Community
14
Popularity
8
Documentation
13
relative
Maintenance
4
Quality
15
Community
10
Popularity
6
Documentation
12
Technical Details
| ptrait | by_address | relative | |
|---|---|---|---|
| Version | 0.1.0 | 1.2.1 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 0 | 7 |
| Crate Size | 6KB | 8KB | 11KB |
| Features | 5 | 0 | 1 |
| Yanked % | 0.0% | 16.7% | 0.0% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •by_address leads with a health score of 56/100, but none of the options score above 80.
- •by_address is depended on by 637 crates — strongest ecosystem trust.
- •⚠ by_address, relative have not been updated in over a year.
- •ptrait, relative are pre-1.0 — API may change.