rustio rustio.net
63

phf

v0.13.1 Growing

Runtime support for perfect hash function data structures

MIT Edition 2021 MSRV 1.66

Quick Verdict

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

Security

Checking security advisories...
Downloads
360.1M
Dependents
19.3K
Releases
71
Size
25KB

Deep Insights

๐Ÿ“Š
Steady growth

33.3M downloads in the last 30 days (1.1M/day), up 12% from the previous period.

๐Ÿ›๏ธ
Foundational crate

19.3K 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 113 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 24KB, 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 9/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
1.0M/day avg+20%
0500K1.0M1.5M2/263/164/34/215/95/26

Top Dependents

Version Adoption

v0.11.3
34%
v0.11.2
28%
v0.10.1
17%
v0.12.1
11%
v0.13.1
10%

Release Timeline

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

Feature Flags

default =["std"]

std*macrosuncasedunicase

README

Loading README...

Maintainers

Dependencies
3
direct dependencies
Dependents
19.3K
crates depend on phf