Decision Workspace
hash_by_ref vs by_address vs hashable_rc
Side-by-side comparison of Rust crates
32
hash_by_ref
growingv0.1.0
A simple NewType that wraps Rc<T> and allows to use the reference identity/pointer value of Rc<T> as keys in hashmap
56
by_address
growingv1.2.1
Wrapper for comparing and hashing pointers by address
41
hashable_rc
growingv0.2.1
Hashable wrappers for reference countings.
Core Metrics
| hash_by_ref | by_address | hashable_rc | |
|---|---|---|---|
| Health Score | 32 | 56 | 41 |
| Total Downloads | 26.6K | 8.1M | 7.0K |
| 30d Downloads | 269 | 698.1K | 9 |
| Dependents | 2 | 637 | 5 |
| Releases | 1 | 12 | 5 |
| Last Updated | 3199d ago | 730d ago | 1992d ago |
| Age | 8y 9m | 8y 5m | 5y 8m |
Health Breakdown
hash_by_ref
Maintenance
1
Quality
16
Community
4
Popularity
5
Documentation
6
by_address
Maintenance
4
Quality
17
Community
14
Popularity
8
Documentation
13
hashable_rc
Maintenance
4
Quality
16
Community
7
Popularity
5
Documentation
9
Technical Details
| hash_by_ref | by_address | hashable_rc | |
|---|---|---|---|
| Version | 0.1.0 | 1.2.1 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | non-standard | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 2KB | 8KB | 5KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 16.7% | 0.0% |
| Edition | — | 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.
- •⚠ hash_by_ref, by_address, hashable_rc have not been updated in over a year.
- •hash_by_ref, hashable_rc are pre-1.0 — API may change.