zstd-safe 2.0.6+zstd.1.4.7

Safe low-level bindings for the zstd compression library.
Documentation
1
2
3
4
5
6
7
8
fn main() {
    let target_arch = std::env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default();
    let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default();

    if target_arch == "wasm32" || target_os == "hermit" { 
        println!("cargo:rustc-cfg=feature=\"std\"");
    }
}