#pkg-config #libs #pc #standalone #key #open #private-key

rpkg-config

Standalone library for reading pkg-config .pc files

2 releases

new 0.1.1 Oct 11, 2024
0.1.0 Oct 8, 2024

#94 in FFI

Download history 298/week @ 2024-10-07

298 downloads per month
Used in sdl3-sys

Zlib OR MIT OR Apache-2.0

27KB
637 lines

rpkg-config

rpkg-config is a standalone library for parsing and getting information from pkg-config's pc files in Rust.

This is not a replacement for the pkg-config crate. If you want to detect and use installed packages with pkg-config, you should use that instead.

To use, first create a PkgConfig struct with e.g. PkgConfig::open. The libs and libs_private methods return an iterator over items in the Libs and Libs.private keys, respectively.

Currently that's about it, if you need something else you can open an issue at github.

No runtime deps