Crates / Compare / twox-hash vs xxhash-rust
Rust crates side by side · data Oct 24, 2026
twox-hash vs xxhash-rust
Short answerBy steady daily use, twox-hash is bigger: 763,473 real downloads a day against 425,794 for xxhash-rust (1.8x). 394 crates depend on twox-hash and 1,000 on xxhash-rust. twox-hash last shipped 20 days ago, xxhash-rust 26 days ago.
twox-hash
EstablishedEstablished and steady.
394 crates depend on it; downloads don't spike on releases.
A Rust implementation of the XXHash and XXH3 algorithms
xxhash-rust
Widely usedWidely used and gaining.
1,000 crates depend on it; downloads jump on release days (1.3x the baseline).
Implementation of xxhash
twox-hashxxhash-rust · 100% = that crate's normal quiet day, so a spike to 300% is triple its usual traffic
Every number, side by side
| Same window, same method | twox-hash | xxhash-rust |
|---|---|---|
| Real downloads a day | 763,473 | 425,794 |
| Crates that depend on it | 394 | 1,000 |
| Last release | 2.1.5, 20 days ago | 0.8.19, 26 days ago |
| Trend vs the field | +0% | +18% |
| Release-window share | 4.4% | 2.8% |
| Downloads in the window | 67,646,574 | 40,070,461 |
| All-time downloads | 276,072,675 | 124,460,351 |
| Versions published | 25 | 26 |
| License | MIT | BSL-1.0 |
| MSRV | 1.81 | not set |
| First published | May 9, 2015 | Oct 15, 2020 |
Which to pick
- Downloads tell you what is common, not what fits. Each crate's own description above says what it is for; when the jobs differ, pick by the job.
- When both fit, prefer the one more crates depend on (xxhash-rust, 1,000 dependents): more eyes, more answered questions, and you may already have it in your tree.
- Check the release dates against your own pace: twox-hash 20 days ago, xxhash-rust 26 days ago.
Also in this space
Method
Real downloads = the median day with no release that day or the day before, from the crates.io API (Jul 27, 2026 to Oct 23, 2026). Raw crates.io counts include CI and bots and run high (why); the method is from our 90-day study.
Up next
Another comparison: Same method, same window. Foundational and steady vs widely used and steady.reqwest vs ureqRead it next →Also worth your time