Crates / hashbrown / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to hashbrown
Short answerThe closest alternatives to hashbrown on crates.io data are ahash (2M real downloads a day), nohash-hasher (324K real downloads a day), smallvec (3.9M real downloads a day). Of the 8 we list, the most used is smallvec, and 5 shipped a release in the last year. hashbrown itself gets 8,927,960 a day with 2,468 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs hashbrown | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| ahash Widely used | 1,968,676 | 0.22x | 2,097 | 18mo | category Data structures, category No standard library, keyword "hash", keyword "hashmap" | side by side |
| nohash-hasher Established | 324,114 | 0.04x | 224 | 6.7y | keyword "hash", keyword "hashmap" | compare |
| smallvec Widely used | 3,868,589 | 0.43x | 4,345 | 1d | category Data structures, keyword "no_std" | compare |
| either Widely used | 3,049,603 | 0.34x | 1,488 | 18d | category Data structures, category No standard library, keyword "no_std" | compare |
| slab Established | 3,013,568 | 0.34x | 619 | 9mo | category Data structures, category No standard library, keyword "no_std" | compare |
| tinyvec Established | 2,308,962 | 0.26x | 270 | 41d | category Data structures, category No standard library, keyword "no_std" | compare |
| arrayvec Widely used | 1,733,744 | 0.19x | 1,215 | 4mo | category Data structures, category No standard library, keyword "no_std" | compare |
| fixedbitset Established | 1,507,079 | 0.17x | 199 | 2.5y | category Data structures, keyword "no_std" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with hashbrown; 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 hashbrown: 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 hashbrown, 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