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

rpkg-config

Standalone library for reading pkg-config .pc files

3 releases

0.1.2 Nov 3, 2024
0.1.1 Oct 11, 2024
0.1.0 Oct 8, 2024

#114 in FFI

Download history 86/week @ 2024-10-02 236/week @ 2024-10-09 26/week @ 2024-10-16 20/week @ 2024-10-23 168/week @ 2024-10-30 32/week @ 2024-11-06 35/week @ 2024-11-13 40/week @ 2024-11-20 53/week @ 2024-11-27 58/week @ 2024-12-04

190 downloads per month
Used in 2 crates (via sdl3-sys)

Zlib OR MIT OR Apache-2.0

29KB
694 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