Cargo Features
[dependencies]
backhand = { version = "0.19.0", default-features = false, features = ["xz", "xz-static", "gzip", "gzip-zlib-rs", "gzip-zune-inflate", "lzo", "zstd", "any-gzip", "any-flate2", "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
- gzip default = any-flate2, any-gzip
-
Enables gzip compression inside library and binaries using flate2 library with zlib-ng. Cannot be used with the
gzip-zune-inflate
feature. - gzip-zlib-rs = any-flate2, any-gzip
-
Enables gzip compression inside library and binaries using flate2 library with zlib-rs. Cannot be used with the
gzip-zune-inflate
feature. - 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.
- any-gzip gzip gzip-zlib-rs? gzip-zune-inflate?
-
Internal only
- any-flate2 gzip gzip-zlib-rs?
-
Internal only
Features from optional dependencies
- document-features implicit feature
-
Enables document-features
document-features:
Extract documentation for the feature flags from comments in Cargo.toml