Email me

Crates / Compare / hashbrown vs phf

Rust crates side by side · data Oct 24, 2026

hashbrown vs phf

Short answerBy steady daily use, hashbrown is bigger: 8,927,960 real downloads a day against 2,170,809 for phf (4.1x). 2,468 crates depend on hashbrown and 1,219 on phf. hashbrown last shipped 6 months ago, phf 4 months ago.

hashbrown

Widely used

Widely 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

phf

Widely used

Widely used and gaining.

1,219 crates depend on it; no release in the last 90 days, so its count is all steady use.

Runtime support for perfect hash function data structures

hashbrownphf · 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 methodhashbrownphf
Real downloads a day8,927,9602,170,809
Crates that depend on it2,4681,219
Last release0.17.1, 6 months ago0.14.0, 4 months ago
Trend vs the field-4%+11%
Release-window share0.0%0.0%
Downloads in the window793,966,067198,140,834
All-time downloads2,826,725,908644,196,507
Versions published5672
LicenseMIT OR Apache-2.0MIT
MSRV1.85.01.85
First publishedOct 29, 2018Nov 22, 2014

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, phf 4 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. Foundational and steady vs widely used and steady.reqwest vs ureqRead it next →

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Did this answer your question?

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ