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
somewhere in the dependency tree.default-features = false - xz default
-
Enables xz compression inside library and binaries
Enables xz2
- xz-static
-
Enables xz compression and forces static build inside library and binaries
- 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
featureEnables 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
featureEnables 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
Features from optional dependencies
- document-features implicit feature
-
Enables document-features
document-features:
Extract documentation for the feature flags from comments in Cargo.toml