Cargo Features

[dependencies]
liblzma = { version = "0.3.5", default-features = false, features = ["tokio", "static", "parallel", "bindgen", "wasm"] }
default = bindgen

The bindgen feature is set by default whenever liblzma is added without default-features = false somewhere in the dependency tree.

tokio = futures, tokio-io
static

Enables static of liblzma-sys

parallel = num_cpus

Enables parallel of liblzma-sys

Affects stream::MtStreamBuilder

bindgen default

Enables bindgen of liblzma-sys

Affects liblzma::uncompressed_size

wasm

Enables wasm of liblzma-sys

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio-io tokio?
futures tokio?

Enables futures ^0.1.26

num_cpus parallel?