Crates / xxhash-rust / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to xxhash-rust
Short answerThe closest alternatives to xxhash-rust on crates.io data are twox-hash (763K real downloads a day), foldhash (3M real downloads a day), ahash (2M real downloads a day). Of the 8 we list, the most used is foldhash, and 4 shipped a release in the last year. xxhash-rust itself gets 425,794 a day with 1,000 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs xxhash-rust | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| twox-hash Established | 763,473 | 1.79x | 394 | 20d | category Algorithms, keyword "hash", keyword "hasher" | side by side |
| foldhash Established | 3,043,165 | 7.15x | 333 | 14mo | category Algorithms, keyword "hash", keyword "hasher" | compare |
| ahash Widely used | 1,968,676 | 4.62x | 2,097 | 18mo | category Algorithms, keyword "hash", keyword "hasher" | compare |
| siphasher Established | 1,957,258 | 4.60x | 274 | 29d | category Algorithms, keyword "hash", keyword "hasher" | compare |
| rustc-hash Widely used | 2,998,135 | 7.04x | 3,505 | 4mo | keyword "hash", keyword "hasher" | compare |
| nohash-hasher Established | 324,114 | 0.76x | 224 | 6.7y | keyword "hash", keyword "hasher" | compare |
| crc32fast Widely used | 2,229,287 | 5.24x | 1,440 | 4d | category Algorithms, keyword "hash" | compare |
| adler2 Pulled in | 1,994,630 | 4.68x | 18 | 17mo | category Algorithms, keyword "hash" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with xxhash-rust; read its description before you swap.
- More dependents means more answered questions and a smaller chance it disappears.
- Check the last release against how fast you need fixes. For xxhash-rust: is it still maintained?
Rules
Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with xxhash-rust, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.
Up next
The closest alternative: Established and steady. 763,473 real downloads a day.twox-hashRust crate. A Rust implementation of the XXHash and XXH3 algorithms. Real use: 763K downloads a day on quiet days; 394 crates depend on it.Read it next →Also worth your time