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 whenever liblzma-sys is added without default-features = false somewhere in the dependency tree.

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