rustio rustio.net
67

phf

v0.14.0 Growing

Runtime support for perfect hash function data structures

MIT Edition 2024 MSRV 1.85

Quick Verdict

  • !Pre-1.0: API may have breaking changes
  • โœ“Massive adoption (24.0K crates depend on it)
  • โœ“Tiny footprint (27KB, 3 deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
600.5M
Dependents
24.0K
Releases
72
Size
27KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

71.6M downloads in the last 30 days (2.4M/day), up 23% from the previous period.

๐Ÿ›๏ธ
Foundational crate

24.0K crates depend on phf โ€” it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 112 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 11+ years old, phf hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Minimal dependencies

Only 3 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

At 27KB, phf is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include strum, raw-cpuid, chrono-tz, cssparser, tokio-postgres. When high-quality crates choose phf, it's a strong quality signal.

Health Breakdown

Maintenance 13/25

Recency, release consistency, active ratio

Quality 17/25

Yanked ratio, deps, size, maturity, features

Community 17/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
651K/day avg-100%
01.0M2.0M3.0M8/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v0.11.3
36%
v0.13.1
19%
v0.11.2
18%
v0.12.1
15%
v0.10.1
13%

Release Timeline

10 releases2 yankedsince 2021
J
F
M
A
M
J
J
A
S
O
N
D
2021
1
2022
2
2023
1
2024
2025
5
2026
1
Less
More|
Yanked

Feature Flags

default =["std"]

std*macrosptrhashuncasedunicase

README

Loading README...

Maintainers

Dependencies
3
direct dependencies
Dependents
24.0K
crates depend on phf