[dependencies.compression-codecs]
version = "0.4.36"
[dependencies.compression-core]
version = "0.4.31"
[dependencies.futures-io]
default-features = false
features = ["std"]
optional = true
version = "0.3"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.tokio]
default-features = false
optional = true
version = "1.24.2"
[dev-dependencies.brotli]
version = "8"
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.bzip2]
version = "0.6"
[dev-dependencies.deflate64]
version = "0.1.5"
[dev-dependencies.flate2]
version = "1.0.13"
[dev-dependencies.futures]
version = "0.3.5"
[dev-dependencies.futures-test]
version = "0.3.5"
[dev-dependencies.liblzma]
version = "0.4.2"
[dev-dependencies.libzstd]
default-features = false
package = "zstd"
version = "0.13.1"
[dev-dependencies.lz4]
version = "1.28.1"
[dev-dependencies.ntest]
version = "0.9"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.proptest-derive]
version = "0.7"
[dev-dependencies.rand]
version = "0.9"
[dev-dependencies.tokio]
default-features = false
features = ["io-util", "macros", "rt-multi-thread", "io-std"]
version = "1.38.2"
[dev-dependencies.tokio-util]
default-features = false
features = ["io"]
version = "0.7"
[dev-dependencies.zstd-safe]
default-features = false
version = "7"
[[example]]
name = "lzma_filters"
path = "examples/lzma_filters.rs"
required-features = ["xz", "tokio"]
[[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", "deflate64", "gzip", "lz4", "lzma", "xz", "xz-parallel", "zlib", "zstd"]
all-implementations = ["futures-io", "tokio"]
brotli = ["compression-codecs/brotli"]
bzip2 = ["compression-codecs/bzip2"]
deflate = ["compression-codecs/deflate"]
deflate64 = ["compression-codecs/deflate64"]
gzip = ["compression-codecs/gzip"]
lz4 = ["compression-codecs/lz4"]
lzma = ["compression-codecs/lzma"]
xz = ["compression-codecs/xz", "lzma"]
xz-parallel = ["compression-codecs/xz-parallel", "xz"]
xz2 = ["compression-codecs/xz2", "xz"]
zlib = ["compression-codecs/zlib"]
zstd = ["compression-codecs/zstd"]
zstdmt = ["compression-codecs/zstdmt", "zstd"]
[lib]
name = "async_compression"
path = "src/lib.rs"
[lints.rust]
rust_2018_idioms = "deny"
[lints.rust.missing_debug_implementations]
level = "deny"
priority = -1
[package]
authors = ["Wim Looman <wim@nemo157.com>", "Allen Bui <fairingrey@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["compression", "asynchronous"]
description = """
Adaptors between compression crates and Rust's modern asynchronous IO types.
"""
edition = "2018"
license = "MIT OR Apache-2.0"
name = "async-compression"
readme = "README.md"
repository = "https://github.com/Nullus157/async-compression"
resolver = "2"
rust-version = "1.83"
version = "0.4.37"
[package.metadata.docs.rs]
all-features = true
[[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 = "lz4"
path = "tests/lz4.rs"
required-features = ["lz4"]
[[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"]