# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "async-compression" version = "0.4.17" authors = [ "Wim Looman ", "Allen Bui ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Adaptors between compression crates and Rust's modern asynchronous IO types. """ readme = "README.md" keywords = [ "compression", "gzip", "zstd", "brotli", "async", ] categories = [ "compression", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Nullus157/async-compression" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "async_compression" path = "src/lib.rs" [[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", ] [[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", ] [dependencies.brotli] version = "7.0" optional = true [dependencies.bzip2] version = "0.4.4" optional = true [dependencies.deflate64] version = "0.1.5" optional = true [dependencies.flate2] version = "1.0.13" optional = true [dependencies.futures-core] version = "0.3" default-features = false [dependencies.futures-io] version = "0.3" features = ["std"] optional = true default-features = false [dependencies.libzstd] version = "0.13.1" optional = true default-features = false package = "zstd" [dependencies.memchr] version = "2" [dependencies.pin-project-lite] version = "0.2" [dependencies.tokio] version = "1.24.2" optional = true default-features = false [dependencies.xz2] version = "0.1.6" optional = true [dependencies.zstd-safe] version = "7" optional = true default-features = false [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] version = "1.24.2" features = [ "io-util", "macros", "rt-multi-thread", "io-std", ] default-features = false [dev-dependencies.tokio-util] version = "0.7" features = ["io"] default-features = false [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", ]