Sha256: 48e65a77cdb54ad6fb1b92387612cfb5e7a22263ede671b6ff1af49f90339d48

Contents?: true

Size: 1000 Bytes

Versions: 23

Compression:

Stored size: 1000 Bytes

Contents

#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![no_std]
//! Low-level bindings to the [zstd] library.
//!
//! [zstd]: https://facebook.github.io/zstd/

#[cfg(target_arch = "wasm32")]
extern crate alloc;

#[cfg(target_arch = "wasm32")]
mod wasm_shim;

// If running bindgen, we'll end up with the correct bindings anyway.
#[cfg(feature = "bindgen")]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

// The bindings used depend on a few feature flags.
#[cfg(all(not(feature = "experimental"), not(feature = "bindgen")))]
include!("bindings_zstd.rs");

#[cfg(all(
    not(feature = "experimental"),
    feature = "zdict_builder",
    not(feature = "bindgen")
))]
include!("bindings_zdict.rs");

#[cfg(all(feature = "experimental", not(feature = "bindgen")))]
include!("bindings_zstd_experimental.rs");

#[cfg(all(
    feature = "experimental",
    feature = "zdict_builder",
    not(feature = "bindgen")
))]
include!("bindings_zdict_experimental.rs");

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/src/lib.rs
wasmtime-28.0.0 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/src/lib.rs
wasmtime-27.0.0 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/src/lib.rs
wasmtime-26.0.0 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/src/lib.rs
wasmtime-25.0.2 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/src/lib.rs
wasmtime-25.0.1 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/src/lib.rs
wasmtime-25.0.0 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/src/lib.rs
wasmtime-24.0.0 ./ext/cargo-vendor/zstd-sys-2.0.13+zstd.1.5.6/src/lib.rs
wasmtime-23.0.2 ./ext/cargo-vendor/zstd-sys-2.0.10+zstd.1.5.6/src/lib.rs
wasmtime-22.0.0 ./ext/cargo-vendor/zstd-sys-2.0.10+zstd.1.5.6/src/lib.rs
wasmtime-21.0.1 ./ext/cargo-vendor/zstd-sys-2.0.10+zstd.1.5.6/src/lib.rs
wasmtime-20.0.2 ./ext/cargo-vendor/zstd-sys-2.0.10+zstd.1.5.6/src/lib.rs
wasmtime-20.0.0 ./ext/cargo-vendor/zstd-sys-2.0.10+zstd.1.5.6/src/lib.rs
wasmtime-18.0.3 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/src/lib.rs
wasmtime-17.0.1 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/src/lib.rs
wasmtime-17.0.0 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/src/lib.rs
wasmtime-16.0.0 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/src/lib.rs
wasmtime-15.0.1 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/src/lib.rs
wasmtime-15.0.0 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/src/lib.rs
wasmtime-14.0.4 ./ext/cargo-vendor/zstd-sys-2.0.9+zstd.1.5.5/src/lib.rs