rpm-pkg-count 0.2.1

Counts installed RPM packages using librpm
Documentation
1
2
3
4
5
6
7
8
9
10
#[cfg(not(feature = "compile-time"))]
fn main() {}

#[cfg(feature = "compile-time")]
fn main() {
    let lib = pkg_config::probe_library("rpm").unwrap();
    for include in &lib.include_paths {
        println!("cargo:root={}", include.display());
    }
}