Decision Workspace
hashlib vs rapidhash vs twox-hash
Side-by-side comparison of Rust crates
35
hashlib
growingv0.1.0
Provide various hash algorithms under a same abstraction layer.
77
rapidhash
stablev4.5.1
An extremely fast, high quality, platform-independent hashing algorithm.
74
twox-hash
stablev2.1.5
A Rust implementation of the XXHash and XXH3 algorithms
Core Metrics
| hashlib | rapidhash | twox-hash | |
|---|---|---|---|
| Health Score | 35 | 77 | 74 |
| Total Downloads | 3.6K | 44.8M | 262.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1.4K | 6.6K |
| Releases | 1 | 23 | 25 |
| Last Updated | 2846d ago | 22d ago | 5d ago |
| Age | 7y 9m | 2y | 11y 5m |
Health Breakdown
hashlib
Maintenance
1
Quality
17
Community
4
Popularity
4
Documentation
9
rapidhash
Maintenance
18
Quality
21
Community
15
Popularity
8
Documentation
15
twox-hash
Maintenance
17
Quality
20
Community
14
Popularity
8
Documentation
15
Technical Details
| hashlib | rapidhash | twox-hash | |
|---|---|---|---|
| Version | 0.1.0 | 4.5.1 | 2.1.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 OR MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 7 | 8 | 3 |
| Crate Size | 3KB | 60KB | 38KB |
| Features | 7 | 8 | 9 |
| Yanked % | 0.0% | 0.0% | 8.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.71.0 | 1.81 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rapidhash leads with a health score of 77/100, but none of the options score above 80.
- •twox-hash has the most downloads (262.2M), suggesting wider adoption.
- •twox-hash is depended on by 6.6K crates — strongest ecosystem trust.
- •⚠ hashlib has not been updated in over a year.
- •hashlib is pre-1.0 — API may change.