mdbsql 0.1.7

SQL query for Access database on Unix-like systems
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use version_compare::Version;

fn main() {
    let library = pkg_config::probe_library("libmdbsql").unwrap_or_else(|e| panic!("{}", e));
    let v1_0 = Version::from("1.0.0").unwrap();
    let current_version = Version::from(&library.version).unwrap();

    if current_version >= v1_0 {
        println!("cargo:rustc-cfg=LIBMDBSQL_GE_VERSION_1");
    }
    println!("cargo:rerun-if-changed=build.rs");
}