Crates / Compare / hashbrown vs ahash
Rust crates side by side · data Oct 24, 2026
hashbrown vs ahash
Short answerBy steady daily use, hashbrown is bigger: 8,927,960 real downloads a day against 1,968,676 for ahash (4.5x). 2,468 crates depend on hashbrown and 2,097 on ahash. hashbrown last shipped 6 months ago, ahash 18 months ago.
hashbrown
Widely usedWidely used and steady.
2,468 crates depend on it; no release in the last 90 days, so its count is all steady use.
A Rust port of Google's SwissTable hash map
ahash
Widely usedWidely used and steady.
2,097 crates depend on it; no release in the last 90 days, so its count is all steady use.
A non-cryptographic hash function using AES-NI for high performance
hashbrownahash · 100% = that crate's normal quiet day, so a spike to 300% is triple its usual traffic
How they relate
- Often used together: 2 tracked crates depend on both (redis, arrow-array). They are not always either/or.
Every number, side by side
| Same window, same method | hashbrown | ahash |
|---|---|---|
| Real downloads a day | 8,927,960 | 1,968,676 |
| Crates that depend on it | 2,468 | 2,097 |
| Last release | 0.17.1, 6 months ago | 0.8.12, 18 months ago |
| Trend vs the field | -4% | -7% |
| Release-window share | 0.0% | 0.0% |
| Downloads in the window | 793,966,067 | 173,949,828 |
| All-time downloads | 2,826,725,908 | 853,536,387 |
| Versions published | 56 | 95 |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| MSRV | 1.85.0 | 1.60.0 |
| First published | Oct 29, 2018 | Feb 28, 2019 |
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 (hashbrown, 2,468 dependents): more eyes, more answered questions, and you may already have it in your tree.
- Check the release dates against your own pace: hashbrown 6 months ago, ahash 18 months 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. Widely used and steady vs established and losing ground.ahash vs fxhashRead it next →Also worth your time