Crates / foldhash / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to foldhash
Short answerThe closest alternatives to foldhash on crates.io data are ahash (2M real downloads a day), siphasher (2M real downloads a day), xxhash-rust (426K real downloads a day). Of the 8 we list, the most used is rustc-hash, and 5 shipped a release in the last year. foldhash itself gets 3,043,165 a day with 333 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs foldhash | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| ahash Widely used | 1,968,676 | 0.65x | 2,097 | 18mo | category Algorithms, category No standard library, keyword "hash", keyword "hasher" | side by side |
| siphasher Established | 1,957,258 | 0.64x | 274 | 29d | category Algorithms, keyword "hash", keyword "hasher" | compare |
| xxhash-rust Widely used | 425,794 | 0.14x | 1,000 | 26d | category Algorithms, keyword "hash", keyword "hasher" | compare |
| twox-hash Established | 763,473 | 0.25x | 394 | 20d | category Algorithms, keyword "hash", keyword "hasher" | compare |
| rustc-hash Widely used | 2,998,135 | 0.99x | 3,505 | 4mo | keyword "hash", keyword "hasher" | side by side |
| nohash-hasher Established | 324,114 | 0.11x | 224 | 6.7y | keyword "hash", keyword "hasher" | compare |
| crc32fast Widely used | 2,229,287 | 0.73x | 1,440 | 4d | category Algorithms, category No standard library, keyword "hash" | compare |
| adler2 Pulled in | 1,994,630 | 0.66x | 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 foldhash; 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 foldhash: 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 foldhash, 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: Widely used and steady. 1,968,676 real downloads a day.ahashRust crate. A non-cryptographic hash function using AES-NI for high performance. Real use: 2M downloads a day on quiet days; 2,097 crates depend on it.Read it next →Also worth your time