Sha256: 5bede93ec3c91786cd6f86c47fe3a8089f3b951f714a999f6df34be0488022d8
Contents?: true
Size: 1.76 KB
Versions: 15
Compression:
Stored size: 1.76 KB
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(feature = "std")] extern crate std; #[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. // No-std (libc-based) #[cfg(all( not(feature = "std"), not(feature = "experimental"), not(feature = "bindgen") ))] include!("bindings_zstd.rs"); #[cfg(all( not(feature = "std"), not(feature = "experimental"), feature = "zdict_builder", not(feature = "bindgen") ))] include!("bindings_zdict.rs"); #[cfg(all( not(feature = "std"), feature = "experimental", not(feature = "bindgen") ))] include!("bindings_zstd_experimental.rs"); #[cfg(all( not(feature = "std"), feature = "experimental", feature = "zdict_builder", not(feature = "bindgen") ))] include!("bindings_zdict_experimental.rs"); // Std-based (no libc) #[cfg(all( feature = "std", not(feature = "experimental"), not(feature = "bindgen") ))] include!("bindings_zstd_std.rs"); // Std-based (no libc) #[cfg(all( feature = "std", not(feature = "experimental"), feature = "zdict_builder", not(feature = "bindgen") ))] include!("bindings_zdict_std.rs"); #[cfg(all( feature = "std", feature = "experimental", not(feature = "bindgen") ))] include!("bindings_zstd_std_experimental.rs"); #[cfg(all( feature = "std", feature = "experimental", feature = "zdict_builder", not(feature = "bindgen") ))] include!("bindings_zdict_std_experimental.rs");
Version data entries
15 entries across 15 versions & 1 rubygems