pkg-config
v0.3.34 GrowingA library to run the pkg-config system tool at build time in order to be used in Cargo build scripts.
Quick Verdict
- βActively maintained (updated 57d ago)
- !Pre-1.0: API may have breaking changes
- βMassive adoption (13.4K crates depend on it)
- βTiny footprint (21KB, 0 deps)
- βPermissive license (MIT OR Apache-2.0)
Security
Deep Insights
78.2M downloads in the last 30 days (2.6M/day), up 18% from the previous period.
13.4K crates depend on pkg-config β it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.
Despite being 11+ years old, pkg-config hasn't reached 1.0 yet. Expect potential API changes between versions.
pkg-config has no external dependencies β minimal supply chain risk and fast compile times.
At 21KB, pkg-config is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include openssl-sys, zstd-sys, libsqlite3-sys, aws-lc-sys, libz-sys. When high-quality crates choose pkg-config, 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
Most downloaded crates that depend on pkg-config