Cargo Features
[dependencies]
zstd = { version = "0.13.2", default-features = false, features = ["bindgen", "debug", "legacy", "pkg-config", "wasm", "zstdmt", "experimental", "thin", "arrays", "no_asm", "zdict_builder", "doc-cfg", "fat-lto", "thin-lto"] }
- default = arrays, legacy, zdict_builder
-
These default features are set whenever
zstd
is added without
somewhere in the dependency tree.default-features = false - bindgen
- debug
- legacy default
- pkg-config
-
Enables pkg-config of zstd-safe
- wasm
- zstdmt
- experimental
-
Enables experimental of zstd-safe
- thin
- arrays default
- no_asm
- zdict_builder default
-
Enables zdict_builder of zstd-safe
Affects
dict::from_continuous
,dict::from_samples
,dict::from_sample_iterator
,dict::from_files
… - doc-cfg
- fat-lto
-
These two are for cross-language LTO. Will only work if
clang
is used to build the C library. - thin-lto