[dependencies.brotli]
optional = true
version = "7.0"
[dependencies.bzip2]
optional = true
version = "0.4.4"
[dependencies.deflate64]
optional = true
version = "0.1.5"
[dependencies.flate2]
optional = true
version = "1.0.13"
[dependencies.futures-core]
default-features = false
version = "0.3"
[dependencies.futures-io]
default-features = false
features = ["std"]
optional = true
version = "0.3"
[dependencies.libzstd]
default-features = false
optional = true
package = "zstd"
version = "0.13.1"
[dependencies.memchr]
version = "2"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.tokio]
default-features = false
optional = true
version = "1.24.2"
[dependencies.xz2]
optional = true
version = "0.1.6"
[dependencies.zstd-safe]
default-features = false
optional = true
version = "7"
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.futures]
version = "0.3.5"
[dev-dependencies.futures-test]
version = "0.3.5"
[dev-dependencies.ntest]
version = "0.9"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.proptest-derive]
version = "0.5"
[dev-dependencies.rand]
version = "0.8.5"
[dev-dependencies.tokio]
default-features = false
features = ["io-util", "macros", "rt-multi-thread", "io-std"]
version = "1.24.2"
[dev-dependencies.tokio-util]
default-features = false
features = ["io"]
version = "0.7"
[[example]]
name = "zlib_tokio_write"
path = "examples/zlib_tokio_write.rs"
required-features = ["zlib", "tokio"]
[[example]]
name = "zstd_gzip"
path = "examples/zstd_gzip.rs"
required-features = ["zstd", "gzip", "tokio"]
[features]
all = ["all-implementations", "all-algorithms"]
all-algorithms = ["brotli", "bzip2", "deflate", "gzip", "lzma", "xz", "zlib", "zstd", "deflate64"]
all-implementations = ["futures-io", "tokio"]
deflate = ["flate2"]
deflate64 = ["dep:deflate64"]
gzip = ["flate2"]
lzma = ["xz2"]
xz = ["xz2"]
zlib = ["flate2"]
zstd = ["libzstd", "zstd-safe"]
zstdmt = ["zstd", "zstd-safe/zstdmt"]
[lib]
name = "async_compression"
path = "src/lib.rs"
[package]
authors = ["Wim Looman <wim@nemo157.com>", "Allen Bui <fairingrey@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["compression", "asynchronous"]
description = """
Adaptors between compression crates and Rust's modern asynchronous IO types.
"""
edition = "2018"
keywords = ["compression", "gzip", "zstd", "brotli", "async"]
license = "MIT OR Apache-2.0"
name = "async-compression"
readme = "README.md"
repository = "https://github.com/Nullus157/async-compression"
version = "0.4.18"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "brotli"
path = "tests/brotli.rs"
required-features = ["brotli"]
[[test]]
name = "bzip2"
path = "tests/bzip2.rs"
required-features = ["bzip2"]
[[test]]
name = "deflate"
path = "tests/deflate.rs"
required-features = ["deflate"]
[[test]]
name = "gzip"
path = "tests/gzip.rs"
required-features = ["gzip"]
[[test]]
name = "lzma"
path = "tests/lzma.rs"
required-features = ["lzma"]
[[test]]
name = "proptest"
path = "tests/proptest.rs"
[[test]]
name = "xz"
path = "tests/xz.rs"
required-features = ["xz"]
[[test]]
name = "zlib"
path = "tests/zlib.rs"
required-features = ["zlib"]
[[test]]
name = "zstd"
path = "tests/zstd.rs"
required-features = ["zstd"]
[[test]]
name = "zstd-dict"
path = "tests/zstd-dict.rs"
required-features = ["zstd", "tokio"]
[[test]]
name = "zstd-window-size"
path = "tests/zstd-window-size.rs"
required-features = ["zstd", "tokio"]