Cargo Features

async-compression has no features set by default.

[dependencies]
async-compression = { version = "0.4.17", features = ["all", "all-implementations", "all-algorithms", "deflate", "gzip", "xz", "zlib", "zstd", "zstdmt", "deflate64"] }
all = all-algorithms, all-implementations

groups

all-implementations all? = futures-io, tokio
all-algorithms all? = brotli, bzip2, deflate, deflate64, gzip, lzma, xz, zlib, zstd
deflate all-algorithms? = flate2

algorithms

gzip all-algorithms? = flate2
lzma xz all-algorithms? = xz2
zlib all-algorithms? = flate2
zstd all-algorithms? zstdmt? = libzstd, zstd-safe

Affects async-compression::zstd

zstdmt = zstd

Enables zstdmt of zstd-safe

deflate64 all-algorithms?

Enables deflate64

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.

brotli all-algorithms?

Affects async-compression::brotli

bzip2 all-algorithms?
flate2 deflate? gzip? zlib?
futures-io all-implementations?

Affects async-compression::futures

libzstd zstd?

Enables zstd

tokio all-implementations?

Affects async-compression::tokio

xz2 lzma? xz?
zstd-safe zstd? zstdmt?