Cargo Features
[dependencies]
liblzma-sys = { version = "0.4.4", default-features = false, features = ["static", "bindgen", "parallel", "wasm", "uncheck_liblzma_version", "fat-lto", "thin-lto"] }
- default = bindgen
-
The
bindgenfeature is set by default wheneverliblzma-sysis added withoutsomewhere in the dependency tree.default-features = false - static wasm?
- bindgen default wasm?
- parallel
-
Affects
manual::lzma_mt,manual::lzma_stream_encoder_mt_memusage,manual::lzma_stream_encoder_mt,manual::lzma_stream_decoder_mt,manual::lzma_mt_block_size… - wasm = bindgen, static
- uncheck_liblzma_version
-
Disables version checking for the system-installed liblzma. This is not recommended under normal circumstances.
- fat-lto
-
These two are for cross-language LTO. Will only work if
clangis used to build the C library. Enable fat-lto, will override thin-lto if specified - thin-lto
-
Enable thin-lto, will fall back to fat-lto if not supported