io-kit-sys 0.4.1

Bindings to IOKit for macOS
1
2
3
4
5
fn main() {
    if std::env::var("TARGET").unwrap().contains("-apple") {
        println!("cargo:rustc-link-lib=framework=IOKit");
    }
}