Cargo Features

bzip2 has no features set by default.

[dependencies]
bzip2 = { version = "0.4.4", features = ["tokio", "static"] }
tokio = futures, tokio-io
static

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

Enables static of bzip2-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