mongocrypt-sys 0.1.3+1.11.0

FFI bindings to libmongocrypt
Documentation
1
2
3
4
5
6
7
8
9
10
use std::env;

fn main() {
    const LIB_DIR: &str = "MONGOCRYPT_LIB_DIR";
    println!("cargo:rerun-if-env-changed={}", LIB_DIR);
    if let Ok(path) = env::var(LIB_DIR) {
        println!("cargo:rustc-link-search=native={}", path);
    }
    println!("cargo:rustc-link-lib=dylib=mongocrypt");
}