libcramjam 0.1.0

Compression library combining a plethera of algorithms in a similar as possible API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::env;

fn main() {
    let crate_dir = env::var("CARGO_MANIFEST_DIR").unwrap();

    cbindgen::Builder::new()
        .with_crate(crate_dir)
        .with_cpp_compat(true)
        .with_language(cbindgen::Language::Cxx)
        .with_namespace("cramjam")
        .generate()
        .expect("Unable to generate bindings")
        .write_to_file("cramjam.h");
}