Cargo Features

[dependencies]
backhand = { version = "0.18.0", default-features = false, features = ["xz", "xz-static", "any-gzip", "gzip", "gzip-zune-inflate", "lzo", "zstd", "document-features"] }
default = gzip, xz, zstd

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

xz default

Enables xz compression inside library and binaries

Enables xz2

xz-static

Enables xz compression and forces static build inside library and binaries

Enables static of xz2

any-gzip gzip gzip-zune-inflate?

Internal only

gzip default = any-gzip

Enables gzip compression inside library and binaries using flate2 library Cannot be used with the gzip-zune-inflate feature

Enables flate2

gzip-zune-inflate = any-gzip

Enables faster gzip (de-compression only) inside library and binaries using zune-inflate Cannot be used with the gzip feature

Enables zune-inflate

lzo

This library is licensed GPL and thus disabled by default

Enables rust-lzo

zstd default

Enables zstd compression inside library and binaries

Enables zstd and zstd-safe

Features from optional dependencies

document-features implicit feature

Enables document-features

document-features:

Extract documentation for the feature flags from comments in Cargo.toml