Crates.io | rpkg-config |
lib.rs | rpkg-config |
version | 0.1.2 |
source | src |
created_at | 2024-10-08 14:04:48.874077 |
updated_at | 2024-11-03 00:05:56.597827 |
description | Standalone library for reading pkg-config .pc files |
homepage | |
repository | https://github.com/maia-s/rpkg-config-rs |
max_upload_size | |
id | 1401231 |
size | 41,456 |
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.