Cargo Features
[dependencies]
backhand = { version = "0.21.0", default-features = false, features = ["xz", "xz-static", "gzip", "lzo", "zstd", "lz4", "any-flate2", "document-features"] }
- default = gzip, lz4, 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-rs
Enables flate2
- lzo
-
This library is licensed GPL and thus disabled by default
Enables rust-lzo
- zstd default
-
Enables zstd compression inside library and binaries
- lz4 default
-
Enables Lz4 compression
Enables lz4_flex
- any-gzip any-flate2 gzip
-
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