Cargo Features

[dependencies]
niffler = { version = "2.5.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 default-features = false somewhere in the dependency tree.

bz2 default = bzip2
lzma default xz = xz2
gz default = flate2
bgz default = bgzip
xz default = lzma
bz2_tokio

bzip2 feature transitivity

Enables tokio of bzip2

bz2_static

Enables static of bzip2

bzip2:

Enable this feature if you want to have a statically linked bzip2

lzma_tokio

lzma feature transitivity

Enables tokio of xz2

gz_zlib

flate2 feature transitivity

Enables zlib of flate2

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

Enables tokio of xz2

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.

bzip2 bz2 bz2_static? bz2_tokio?
flate2 gz gz_cloudflare_zlib? gz_rust_backend? gz_zlib? gz_zlib-ng-compat?
xz2 lzma lzma_tokio? xz_tokio?
bgzip bgz

Enables bgzip ^0.2.2

zstd default

Enables zstd ^0.12.2