Crates / Compare / ahash vs fxhash
Rust crates side by side · data Oct 24, 2026
ahash vs fxhash
Short answerBy steady daily use, ahash is bigger: 1,968,676 real downloads a day against 325,803 for fxhash (6.0x). 2,097 crates depend on ahash and 568 on fxhash. ahash last shipped 18 months ago, fxhash 9.2 years ago.
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
fxhash
EstablishedEstablished and losing ground.
568 crates depend on it; no release in the last 90 days, so its count is all steady use.
A fast, non-secure, hashing algorithm derived from an internal hasher used in FireFox and Rustc.
ahashfxhash · 100% = that crate's normal quiet day, so a spike to 300% is triple its usual traffic
Every number, side by side
| Same window, same method | ahash | fxhash |
|---|---|---|
| Real downloads a day | 1,968,676 | 325,803 |
| Crates that depend on it | 2,097 | 568 |
| Last release | 0.8.12, 18 months ago | 0.2.1, 9.2 years ago |
| Trend vs the field | -5% | -15% |
| Release-window share | 0.0% | 0.0% |
| Downloads in the window | 173,949,828 | 27,513,898 |
| All-time downloads | 853,536,387 | 158,286,655 |
| Versions published | 95 | 5 |
| License | MIT OR Apache-2.0 | Apache-2.0/MIT |
| MSRV | 1.60.0 | not set |
| First published | Feb 28, 2019 | Jun 26, 2017 |
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 (ahash, 2,097 dependents): more eyes, more answered questions, and you may already have it in your tree.
- Check the release dates against your own pace: ahash 18 months ago, fxhash 9.2 years 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. People search for this pair: Google suggests "ahash vs fxhash".