kdb 0.3.0

Idiomatic, High performance API for using KDB+ and Q from Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    let base = std::env::current_dir().unwrap();
    if let Ok(lib_path) = std::env::var("LKDB_LIB_DIR") {
        println!("cargo:rustc-link-search={}", lib_path);
    } else {
        println!("cargo:rustc-link-search={}", base.to_str().unwrap());
        if let Ok(lib_path) = std::env::var("LIBRARY_PATH") {
            println!("cargo:rustc-link-search={}", lib_path);
        }
    }
}