Rust crate alternatives · data Oct 24, 2026
Alternatives to ahash
Short answerThe closest alternatives to ahash on crates.io data are foldhash (3M 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 hashbrown, and 6 shipped a release in the last year. ahash itself gets 1,968,676 a day with 2,097 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs ahash | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| foldhash Established | 3,043,165 | 1.55x | 333 | 14mo | category Algorithms, category No standard library, keyword "hash", keyword "hasher" | side by side |
| siphasher Established | 1,957,258 | 0.99x | 274 | 29d | category Algorithms, keyword "hash", keyword "hasher" | compare |
| xxhash-rust Widely used | 425,794 | 0.22x | 1,000 | 26d | category Algorithms, keyword "hash", keyword "hasher" | compare |
| nohash-hasher Established | 324,114 | 0.16x | 224 | 6.7y | keyword "hash", keyword "hasher" | compare |
| hashbrown Widely used | 8,927,960 | 4.54x | 2,468 | 6mo | category Data structures, category No standard library, keyword "hash", keyword "hashmap" | side by side |
| twox-hash Established | 763,473 | 0.39x | 394 | 20d | category Algorithms, keyword "hash", keyword "hasher" | compare |
| dashmap Widely used | 1,112,131 | 0.56x | 4,694 | 5mo | category Algorithms, category Data structures, keyword "hashmap" | compare |
| rustc-hash Widely used | 2,998,135 | 1.52x | 3,505 | 4mo | keyword "hash", keyword "hasher" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with ahash; 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 ahash: 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 ahash, 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. 3,043,165 real downloads a day.foldhashRust crate. A fast, non-cryptographic, minimally DoS-resistant hashing algorithm. Real use: 3M downloads a day on quiet days; 333 crates depend on it.Read it next →Also worth your time