zstd-seekable 0.1.6

Bindings to the seekable version of ZStandard.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fn main() {
    cc::Build::new()
        .file("zstd/contrib/seekable_format/zstdseek_compress.c")
        .file("zstd/contrib/seekable_format/zstdseek_decompress.c")
        .file("xxh64.c")
        .opt_level(3)
        .include("zstd/lib/common")
        .include("zstd/lib")
        .compile("zstdseek");

    println!("cargo:rustc-link-lib=zstd");
    println!("cargo:rustc-link-lib=xxhash");
    pkg_config::probe_library("libzstd").unwrap();
    pkg_config::probe_library("libxxhash").unwrap();
}