Cargo Features

[dependencies]
autocompress = { version = "0.6.0", default-features = false, features = ["full", "bzip2", "gzip", "bgzip", "bgzip_libdeflater", "xz", "zstd", "tokio_fs", "tokio", "rayon", "additionaltest", "gzip_rust_backend", "zlib", "zlib-ng-compat", "zlib-ng", "cloudflare_zlib", "flate2"] }
default = full

The full feature is set by default whenever autocompress is added without default-features = false somewhere in the dependency tree.

full default = bgzip, bzip2, gzip, rayon, tokio, tokio_fs, xz, zstd
bzip2 full

Enables bzip2

Affects autocompress::bzip2

gzip full = gzip_rust_backend
bgzip full = flate2

Enables rust_backend of bgzip

Affects autodetect::autodetect_create_prefer_bgzip, autodetect::autodetect_create_or_stdout_prefer_bgzip, autocompress::bgzip

bgzip_libdeflater = flate2

Enables libdeflater of bgzip

xz full

Enables xz2

Affects autocompress::xz

zstd full

Enables zstd

Affects autocompress::zstd

tokio_fs full = tokio

Enables fs of tokio

Affects autodetect::autodetect_async_open, autodetect::autodetect_async_open_or_stdin, autodetect::autodetect_async_create, autodetect::autodetect_async_create_or_stdout

tokio full tokio_fs?

Enables tokio

Affects autodetect::autodetect_async_buf_reader, bgzip::AsyncBgzipCompressWriter, bzip2::AsyncBzip2DecompressReader, bzip2::AsyncBzip2CompressWriter, gzip::AsyncGzipDecompressReader, gzip::AsyncGzipCompressWriter, reader::AsyncProcessorReader, test::AsyncSmallStepReader, writer::AsyncProcessorWriter, test::AsyncSmallStepWriter, xz::AsyncXzDecompressReader, xz::AsyncXzCompressWriter, zlib::AsyncZlibDecompressReader, zlib::AsyncZlibCompressWriter, zstd::AsyncZstdDecompressReader, zstd::AsyncZstdCompressWriter

rayon full

Enables rayon

Affects autodetect::autodetect_parallel_create, autodetect::autodetect_parallel_create_or_stdout

additionaltest
gzip_rust_backend gzip? = flate2

Enables rust_backend of flate2

zlib

Enables zlib of flate2

zlib-ng-compat = flate2

Enables zlib-ng-compat of flate2

zlib-ng

Enables zlib-ng of flate2

cloudflare_zlib = flate2

Enables cloudflare_zlib of flate2

flate2 bgzip? bgzip_libdeflater? cloudflare_zlib? gzip_rust_backend? zlib-ng-compat?

Enables flate2

Affects autocompress::gzip, autocompress::zlib