libmapper-rs 1.2.0

Rust bindings for libmapper
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fn main() {
    if std::env::var("DOCS_RS").is_ok() {
        return; // don't try to find libmapper on docs.rs
    }

    if cfg!(windows) {
        println!("cargo:rustc-link-lib=libmapper");
        println!("cargo:rustc-link-lin=liblo");
    } else {
        pkg_config::Config::new()
            .atleast_version("2.4.9")
            .probe("libmapper")
            .unwrap();
    }
}