# 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" rust-version = "1.83" name = "async-compression" version = "0.4.42" authors = [ "Wim Looman ", "Allen Bui ", ] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Adaptors between compression crates and Rust's modern asynchronous IO types. """ readme = "README.md" categories = [ "compression", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Nullus157/async-compression" resolver = "2" [package.metadata.docs.rs] all-features = true [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" [[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", ] [[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", ] [dependencies.compression-codecs] version = "0.4.38" [dependencies.compression-core] version = "0.4.32" [dependencies.futures-io] version = "0.3" features = ["std"] optional = true default-features = false [dependencies.pin-project-lite] version = "0.2" [dependencies.tokio] version = "1.24.2" optional = true default-features = false [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] version = "0.13.1" default-features = false package = "zstd" [dev-dependencies.lz4] version = "1.28.1" [dev-dependencies.ntest] version = "0.9" [dev-dependencies.proptest] version = "1" [dev-dependencies.proptest-derive] version = "0.8" [dev-dependencies.rand] version = "0.10" [dev-dependencies.tokio] version = "1.38.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 [dev-dependencies.zstd-safe] version = "7" default-features = false [lints.rust] rust_2018_idioms = "deny" [lints.rust.missing_debug_implementations] level = "deny" priority = -1