Email me

Crates / phf

Rust crate · real downloads · data Oct 24, 2026

phf downloads, and should you depend on it?

Runtime support for perfect hash function data structures crates.io · docs.rs · repository

Widely usedShould you depend on phf? The data says

Widely used and gaining.

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

2.2Mreal downloads a day (quiet-day median)
1,219crates depend on it
4 monthssince the last release (0.14.0)
+12%quiet-day trend vs the field, 90 days
How this verdict is decided (4 rules)
  • Usage: crates.io reverse dependencies (crates that list it as a dependency): 10,000+ = foundational, 1,000+ = widely used, 100+ = established, under 100 = few direct dependents.
  • Direction: the median quiet day in the last 30 days of the window against the first 30, read against the median tracked crate (the whole field moved +36% from late summer to October, so a raw trend says nothing). 10%+ ahead of the field = gaining; 10%+ behind = losing ground; otherwise steady. Steady with no release in 2+ years = quiet for years.
  • Release spikes: the median release-window day against the quiet-day baseline: under 1.15x = no spike, 1.15x to 1.3x = small bumps, 1.3x or more = jumps on release days.
  • Release recency: days since the newest version that was not yanked, from crates.io publish times.
Data: crates.io API, Jul 27, 2026 to Oct 23, 2026, fetched Oct 24, 2026. Downloads are not users: read the baseline as steady use, not a head count.
2M4M2026-07-27: 1,757,4492026-07-28: 1,930,3752026-07-29: 1,872,7012026-07-30: 1,842,7222026-07-31: 1,740,2972026-08-01: 1,199,3102026-08-02: 1,179,0902026-08-03: 1,774,2722026-08-04: 1,904,5742026-08-05: 1,929,1012026-08-06: 1,624,3792026-08-07: 1,903,6872026-08-08: 1,115,2152026-08-09: 1,078,4032026-08-10: 1,865,0112026-08-11: 2,021,9452026-08-12: 2,063,8442026-08-13: 2,124,6542026-08-14: 2,026,9842026-08-15: 1,262,1152026-08-16: 1,224,9222026-08-17: 1,905,4632026-08-18: 2,055,0712026-08-19: 2,047,8282026-08-20: 2,266,7842026-08-21: 2,186,8592026-08-22: 1,327,8622026-08-23: 1,278,7842026-08-24: 2,113,2302026-08-25: 2,258,3112026-08-26: 2,203,4622026-08-27: 2,258,5532026-08-28: 2,216,7822026-08-29: 1,320,5002026-08-30: 1,219,9432026-08-31: 2,041,1622026-09-01: 2,385,0832026-09-02: 2,479,1752026-09-03: 2,409,8622026-09-04: 2,170,8092026-09-05: 1,461,8052026-09-06: 1,378,2072026-09-07: 1,870,1072026-09-08: 2,283,9672026-09-09: 2,369,8392026-09-10: 2,381,9892026-09-11: 2,210,0982026-09-12: 1,354,0632026-09-13: 1,302,0402026-09-14: 2,308,5472026-09-15: 2,568,7732026-09-16: 2,428,5172026-09-17: 2,599,9952026-09-18: 2,336,5192026-09-19: 1,418,7312026-09-20: 1,429,2942026-09-21: 2,293,4952026-09-22: 2,498,1352026-09-23: 2,611,5562026-09-24: 2,592,8422026-09-25: 2,442,9392026-09-26: 1,543,7722026-09-27: 1,589,3602026-09-28: 2,734,6442026-09-29: 2,918,1622026-09-30: 2,872,4922026-10-01: 2,948,6772026-10-02: 2,833,7542026-10-03: 1,864,5832026-10-04: 1,775,2472026-10-05: 2,742,3412026-10-06: 3,153,9432026-10-07: 3,311,6342026-10-08: 3,355,1372026-10-09: 3,081,4312026-10-10: 2,179,0282026-10-11: 1,997,4812026-10-12: 2,866,1412026-10-13: 3,335,7102026-10-14: 3,666,7742026-10-15: 3,465,0122026-10-16: 3,238,7482026-10-17: 2,010,4952026-10-18: 1,971,2262026-10-19: 3,514,3442026-10-20: 3,594,5872026-10-21: 3,964,6402026-10-22: 4,088,1792026-10-23: 3,795,261Jul 27Aug 1Sep 1Oct 1

release window (release day + next day)quiet dayquiet-day median · download the 89 days as CSV

The numbers in one paragraphphf got 198,140,834 crates.io downloads from Jul 27, 2026 to Oct 23, 2026 with no new version in that window, so every day is a quiet day: a median of 2,170,809 a day, about 15,195,663 a week. With no release spikes to remove, its whole count is the steady baseline.

What this means if you're choosing a dependency

  • Well trodden. 1,219 crates depend on it, so common problems tend to have public answers and breaking changes get noticed fast.
  • Released this year. The latest version, 0.14.0, is from Jun 21, 2026 (4 months ago).
  • Still pre-1.0 (0.14.0). Under Cargo's semver rules a 0.x minor bump may break you, so pin the minor version (phf = "0.14") and read the changelog on upgrades.
  • Fit check: license MIT, edition 2024, needs Rust 1.85 or newer (from the latest version's manifest).
  • Its raw count is a fair read. Under 1% of its downloads in the window came from release windows, so the raw number and the baseline (2,170,809 a day) tell the same story.

Alternatives that do a similar job

Crates that share its crates.io category or keywords, most similar first. Each line is the crate's own description, then how it compares on the same data.

Its place in the dependency graph

Built on phf

1 of the 300 crates we track depend on it directly (biggest first).

phf builds on

Tracked crates its latest version (0.14.0) depends on (optional ones marked).

What the chart says

  • Weekend quiet days ran at 58% of weekday quiet days (1,366,135 vs 2,336,519). A dip that deep is the signature of work-week CI pipelines and developers building on weekdays.
  • Biggest day: 4,088,179 on Oct 22, 2026, a quiet day with no release nearby.

Every number

All-time downloads644,196,507 (rank #209 on crates.io by all-time downloads)
Downloads in the window198,140,834 (Jul 27, 2026 to Oct 23, 2026, 89 days)
Within 2 days of a release0 (0.0%)
Quiet-day median (baseline)2,170,809 a day; weekdays 2,336,519, weekends 1,366,135
Release-adjusted downloads198,140,834 (release-window days capped at the baseline)
Baseline rank#172 of the 300 crates we track
Quiet-day trend+53% raw, +12% against the median tracked crate (+36%)
Releases in the window0
Versions published, ever72
Latest version0.14.0, published Jun 21, 2026 (license MIT, edition 2024, MSRV 1.85)
First publishedNov 22, 2014
Reverse dependencies1,219

How we compute this

crates.io counts every download, including CI runners, mirrors and bots that fetch each new version, so raw counts run high (why, in The Manual). We split the last 89 days into release windows (the day a version of phf was published, plus the next day) and quiet days, and use the median quiet day as the baseline: an upper bound on steady use, never a head count. The method and data come from our study of 90 days of crates.io data from 69 crates, featured in This Week in Rust #674; check any crate live with the real-downloads checker.

Badge for your README

Maintainers can show the baseline in a README. It is optional, updates when we refresh the data, and links back here. Preview, then copy:

README, light

phf real downloads per day badge

README, dark

Publishing a crate of your own? How to publish a Rust crate to crates.io, step by step.

Categories

Sources

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.

Up next

Next in data structures: Next in Data structures by real downloads: 2,079,241 a day, 160 dependents. Established and gaining.const-oidRust crate. Const-friendly implementation of the ISO/IEC Object Identifier (OID) standard as defined in ITU X.660, with support for BER/DER encoding/decoding as well as...Read it next →

Also worth your time

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