# 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-issue-150-workaround" version = "0.3.15-issue-150" authors = [ "Wim Looman ", "Allen Bui ", ] description = """ Adaptors between compression crates and Rust's modern asynchronous IO types. """ keywords = [ "compression", "gzip", "zstd", "brotli", "async", ] categories = [ "compression", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Nemo157/async-compression" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "zlib_tokio_02_write" required-features = [ "zlib", "tokio-02", ] [[example]] name = "zstd_gzip" required-features = [ "zstd", "gzip", "tokio-02", ] [[test]] name = "brotli" required-features = ["brotli"] [[test]] name = "bzip2" required-features = ["bzip2"] [[test]] name = "deflate" required-features = ["deflate"] [[test]] name = "gzip" required-features = ["gzip"] [[test]] name = "lzma" required-features = ["lzma"] [[test]] name = "xz" required-features = ["xz"] [[test]] name = "zlib" required-features = ["zlib"] [[test]] name = "zstd" required-features = ["zstd"] [dependencies.brotli] version = "3.3.0" features = ["std"] optional = true default-features = false [dependencies.bytes-05] version = "0.5.0" optional = true package = "bytes" [dependencies.bzip2] version = "0.4.1" optional = true [dependencies.flate2] version = "1.0.11" optional = true [dependencies.futures-core] version = "0.3.0" default-features = false [dependencies.futures-io] version = "0.3.0" features = ["std"] optional = true default-features = false [dependencies.libzstd] version = "0.11.1" optional = true default-features = false package = "zstd" [dependencies.memchr] version = "2.2.1" [dependencies.pin-project-lite] version = "0.2.0" [dependencies.tokio] version = "1.0.0" optional = true default-features = false [dependencies.tokio-02] version = "0.2.21" optional = true default-features = false package = "tokio" [dependencies.tokio-03] version = "0.3.0" optional = true default-features = false package = "tokio" [dependencies.xz2] version = "0.1.6" optional = true [dependencies.zstd-safe] version = "5.0.1" optional = true default-features = false [dev-dependencies.bytes] version = "1.0.0" [dev-dependencies.bytes-05] version = "0.5.0" package = "bytes" [dev-dependencies.bytes-06] version = "0.6.0" package = "bytes" [dev-dependencies.futures] version = "0.3.5" [dev-dependencies.futures-test] version = "0.3.5" [dev-dependencies.ntest] version = "0.7.5" [dev-dependencies.proptest] version = "1.0.0" [dev-dependencies.proptest-derive] version = "0.3.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.tokio] version = "1.0.0" features = ["io-util"] default-features = false [dev-dependencies.tokio-02] version = "0.2.21" features = [ "io-util", "stream", "macros", "io-std", ] default-features = false package = "tokio" [dev-dependencies.tokio-03] version = "0.3.0" features = [ "io-util", "stream", ] default-features = false package = "tokio" [dev-dependencies.tokio-util-03] version = "0.3.0" features = ["codec"] default-features = false package = "tokio-util" [dev-dependencies.tokio-util-04] version = "0.4.0" features = ["io"] default-features = false package = "tokio-util" [dev-dependencies.tokio-util-05] version = "0.5.0" features = ["io"] default-features = false package = "tokio-util" [dev-dependencies.tokio-util-06] version = "0.6.0" features = ["io"] default-features = false package = "tokio-util" [features] all = [ "all-implementations", "all-algorithms", ] all-algorithms = [ "brotli", "bzip2", "deflate", "gzip", "lzma", "xz", "zlib", "zstd", ] all-implementations = [ "futures-io", "stream", "tokio-02", "tokio-03", "tokio", ] default = [] deflate = ["flate2"] futures-bufread = ["futures-io"] futures-write = ["futures-io"] gzip = ["flate2"] lzma = ["xz2"] stream = ["bytes-05"] xz = ["xz2"] zlib = ["flate2"] zstd = [ "libzstd", "zstd-safe", ]