NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #120 most downloaded on crates.io
A library to run the pkg-config system tool at build time in order to be used in Cargo build scripts.
Last release 1 months ago
14 Aug 2026
Ships fairly regularly
a new release about every 5 months
Some releases are documented
notes for 25 of 47 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
47 releases · first in 2014
Update MSRV to 1.63 and remove lazy_static dependency (#191).
Update README.md (#190).
Update MSRV to 1.63 and remove lazy_static dependency (#191).
Fix various clippy warnings (#193).
Allow disabling passing --cflags to pkg-config (#183).
Make Library::extract_lib_from_filename public (#192).
Error output from pkg-config is included in the message again to help with finding the cause
pkg-config is included in the message again to
help with finding the cause (#187)One column per quarter.
Suggest installing pkgconf via homebrew on macOS instead of pkg-config
Suggest installing pkgconf via homebrew on macOS instead of pkg-config (#173)
Quote failed pkg-config command correctly in error messages to allow for directly copy&pasting it into a shell (#175)
Remove double cargo: prefix from linker line (#168).
cargo: prefix from linker line (#168).Update documentation for cross-compilation (#161).
Update documentation for cross-compilation (#161).
Update GitHub Action CI (#160).
Detection and usage of Windows static libraries (#154).
Detection and usage of Windows static libraries (#154).
Passing -Wl,-u to the linker if specified in the pkg-config file (#154).
Pass -l:libfoo.a to linker directly (#149).
Support falling back to pkgconf if pkg-config is not available (#145).
pkgconf if pkg-config is not available (#145).Simplify running pkg-config (#144).
Document MSRV in Cargo.toml via rust-version.
Fix a couple of minor clippy warnings (#147).
Support for handling full paths to libraries in addition to normal -l linker flags (#134).
-l
linker flags (#134).Support for parsing -Wl linker arguments from the Libs lines and passing them to the linker as well as making them available via Library::ld_args (#13
-Wl linker arguments from the Libs lines and
passing them to the linker as well as making them available via
Library::ld_args (#131).Re-add target_supported(), which was accidentally removed in 0.3.15 (#128).
target_supported(), which was accidentally removed in 0.3.15 (#128).Improve error messages when a pkg-config package can't be found (#127).
pkg-config package can't be found (#127).pkg-config compiles again with Rust 1.30 or newer. 0.3.21 accidentally made use of API only available since 1.40 (#124, #125).
pkg-config compiles again with Rust 1.30 or newer. 0.3.21 accidentally
made use of API only available since 1.40 (#124, #125).Tests succeed again on macOS (#122).
Use target-specific pkg-config consistently everywhere (#121, #118).
Add README.md to be displayed on crates.io (#111).
Add README.md to be displayed on crates.io (#111).
Support for -isystem, -iquote and -idirafter include flags (#115).
Improve documentation for cross-compilation (#113).
Allow overriding system root via the PKG_CONFIG_SYSROOT_DIR or SYSROOT
environment variable (#82).
Use env::var_os() almost everywhere to handle non-UTF8 paths in environment variables, and also improve error handling around environment variable han
env::var_os() almost everywhere to handle non-UTF8 paths in
environment variables, and also improve error handling around environment
variable handling (#106).env_metadata build parameter to true instead of false.
Whenever a pkg-config related environment variable changes it would make
sense to rebuild crates that use pkg-config, or otherwise changes might not
be picked up. As such the previous default didn't make much sense (#105).Fix support for multiple version number constraints
Stop using deprecated functions and require Rust 1.30
cargo fmt as part of the CI (#89)Clone for Library and Debug for `Config (#91)PKG_CONFIG_ALLOW_SYSTEM_CFLAGS and enable by default (#93)Changes minimum documented rust version to 1.28
Don't append .lib suffix on MSVC builds
Fix MSVC support to actually work and consider library paths too
Document and test Rust 1.13 as minimally supported version
### Fixed - Re-added AsciiExt import
Allow static linking of /usr/ on macOS
-Wl, style framework flags (#48)pkg-config output (#49)PKG_CONFIG_PATH changes (#50)? instead of try!() in the codebase (#63)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →