Cargo Features

bzip2 has no features set by default.

[dependencies]
bzip2 = { version = "0.5.0", features = ["libbz2-rs-sys", "static"] }
default

These default features are set whenever bzip2 is added without default-features = false somewhere in the dependency tree.

Enables bzip2-sys

libbz2-rs-sys = static

Use libbz2-rs-sys instead of the C FFI bindings of bzip2-sys Using the rust implementation is always static

Enables libbz2-rs-sys

static libbz2-rs-sys?

Enable this feature if you want to have a statically linked bzip2

Enables static of optional bzip2-sys