#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![no_std]
#[cfg(target_family = "wasm")]
extern crate alloc;
#[cfg(feature = "rust-backend")]
extern crate libzstd_rs_sys;
#[cfg(all(feature = "rust-backend", feature = "seekable"))]
compile_error!(
"the `seekable` feature is not supported with `rust-backend`: \
libzstd-rs-sys does not include zstd's seekable format"
);
#[cfg(target_family = "wasm")]
mod wasm_shim;
#[cfg(feature = "bindgen")]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
#[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");
#[cfg(all(feature = "seekable", not(feature = "bindgen")))]
include!("bindings_zstd_seekable.rs");