rustio rustio.net
72

phf

v0.14.0 Growing

Runtime support for perfect hash function data structures

MIT Edition 2024 MSRV 1.85

Quick Verdict

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

Security

Checking security advisories...
Downloads
426.1M
Dependents
20.7K
Releases
72
Size
27KB

Deep Insights

๐Ÿ“Š
Steady growth

40.2M downloads in the last 30 days (1.3M/day), up 5% from the previous period.

๐Ÿ›๏ธ
Foundational crate

20.7K 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 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, selectors. When high-quality crates choose phf, it's a strong quality signal.

Health Breakdown

Maintenance 18/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.1M/day avg-32%
0500K1.0M1.5M4/265/146/16/197/77/24

Top Dependents

Version Adoption

v0.11.3
35%
v0.11.2
24%
v0.10.1
15%
v0.13.1
13%
v0.12.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
20.7K
crates depend on phf