Cargo Features
[dependencies]
niffler = { version = "2.6.0", default-features = false, features = ["bz2", "lzma", "gz", "bgz", "xz", "bz2_tokio", "bz2_static", "lzma_tokio", "gz_zlib", "gz_zlib-ng-compat", "gz_cloudflare_zlib", "gz_rust_backend", "xz_tokio", "zstd"] }
- default = bgz, bz2, gz, lzma, xz, zstd
-
These default features are set whenever
niffler
is added without
somewhere in the dependency tree.default-features = false - bz2 default = bzip2
- lzma default xz = liblzma
- gz default = flate2
- bgz default = bgzip
- xz default = lzma
- bz2_tokio
-
bzip2 feature transitivity
- bz2_static
-
bzip2:
Enable this feature if you want to have a statically linked bzip2
- lzma_tokio
-
lzma feature transitivity
- gz_zlib
-
flate2 feature transitivity
- gz_zlib-ng-compat
-
Enables zlib-ng-compat of flate2
- gz_cloudflare_zlib
-
Enables cloudflare_zlib of flate2
- gz_rust_backend
-
Enables rust_backend of flate2
- xz_tokio
-
xz feature transitivity
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.