Expand description
§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.
Structs§
- Error returned if there’s a problem with the text encoding
- Iterator over items in
Libs
orLibs.private
- Error returned when something couldn’t be parsed
- A parsed pkg-config pc file
- Iterator over a pkg-config key that handles escapes and splits by unescaped whitespace
Enums§
- Items parsed from
Libs
orLibs.private
keys - Error returned by
PkgConfig::open
- Error returned when a variable couldn’t be resolved