rustio rustio.net
64

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 (17.6K crates depend on it)
  • โœ“Tiny footprint (25KB, 3 deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
298.8M
Dependents
17.6K
Releases
71
Size
25KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

28.5M downloads in the last 30 days (949.3K/day), up 28% from the previous period.

๐Ÿ›๏ธ
Foundational crate

17.6K 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 10/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
734K/day avg+76%
0500K1.0M12/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.11.3
31%
v0.11.2
31%
v0.10.1
17%
v0.8.0
13%
v0.12.1
9%

Release Timeline

71 releases3 yankedsince 2014
J
F
M
A
M
J
J
A
S
O
N
D
2014
7
2015
36
2016
11
2017
1
2018
2
2019
2
2020
2021
4
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
17.6K
crates depend on phf