Crates / Compare / foldhash vs const_format
Rust crates side by side · data Oct 24, 2026
foldhash vs const_format
Short answerBy steady daily use, foldhash is bigger: 3,043,165 real downloads a day against 471,574 for const_format (6.5x). 333 crates depend on foldhash and 556 on const_format. foldhash last shipped 14 months ago, const_format 1 day ago.
foldhash
EstablishedEstablished and steady.
333 crates depend on it; no release in the last 90 days, so its count is all steady use.
A fast, non-cryptographic, minimally DoS-resistant hashing algorithm.
const_format
EstablishedEstablished and steady.
556 crates depend on it; downloads jump on release days (1.5x the baseline).
Compile-time string formatting
foldhashconst_format · 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 | foldhash | const_format |
|---|---|---|
| Real downloads a day | 3,043,165 | 471,574 |
| Crates that depend on it | 333 | 556 |
| Last release | 0.2.0, 14 months ago | 0.2.37, 1 day ago |
| Trend vs the field | +6% | -10% |
| Release-window share | 0.0% | 1.8% |
| Downloads in the window | 284,307,575 | 39,199,233 |
| All-time downloads | 717,956,008 | 167,891,309 |
| Versions published | 7 | 41 |
| License | Zlib | Zlib |
| MSRV | 1.60 | 1.71.0 |
| First published | Aug 12, 2024 | Aug 17, 2020 |
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 (const_format, 556 dependents): more eyes, more answered questions, and you may already have it in your tree.
- Check the release dates against your own pace: foldhash 14 months ago, const_format 1 day 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 steady.ahash vs foldhashRead it next →Also worth your time