phf
v0.13.1 GrowingRuntime support for perfect hash function data structures
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
Deep Insights
28.5M downloads in the last 30 days (949.3K/day), up 28% from the previous period.
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.
The primary maintainer publishes 113 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
Despite being 11+ years old, phf hasn't reached 1.0 yet. Expect potential API changes between versions.
Only 3 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 24KB, phf is lightweight. Small crate size correlates with focused, well-scoped functionality.
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
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Version Adoption
Release Timeline
Feature Flags
default =["std"]