Cargo Features
[dependencies]
liblzma-sys = { version = "0.3.13", default-features = false, features = ["static", "bindgen", "parallel", "wasm", "fat-lto", "thin-lto"] }
- default = bindgen
-
The
bindgen
feature is set by default wheneverliblzma-sys
is added without
somewhere 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
- fat-lto
-
These two are for cross-language LTO. Will only work if
clang
is 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