blob: fb35bdc859f0da963779b27c25c0847bc8d071c2 [file] [log] [blame]
# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
edition = "2018"
name = "flate2"
version = "1.0.14"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
description = "Bindings to miniz.c for DEFLATE compression and decompression exposed as\nReader/Writer streams. Contains bindings for zlib, deflate, and gzip-based\nstreams.\n"
homepage = "https://github.com/alexcrichton/flate2-rs"
documentation = "https://docs.rs/flate2"
readme = "README.md"
keywords = ["gzip", "flate", "zlib", "encoding"]
categories = ["compression", "api-bindings"]
license = "MIT/Apache-2.0"
repository = "https://github.com/alexcrichton/flate2-rs"
[dependencies.cfg-if]
version = "0.1.6"
[dependencies.cloudflare-zlib-sys]
version = "0.2.0"
optional = true
[dependencies.crc32fast]
version = "1.2.0"
[dependencies.futures]
version = "0.1.25"
optional = true
[dependencies.libc]
version = "0.2.65"
[dependencies.libz-sys]
version = "1.0.25"
optional = true
[dependencies.miniz-sys]
version = "0.1.11"
optional = true
[dependencies.miniz_oxide]
version = "0.3.5"
optional = true
[dependencies.tokio-io]
version = "0.1.11"
optional = true
[dev-dependencies.futures]
version = "0.1"
[dev-dependencies.quickcheck]
version = "0.9"
default-features = false
[dev-dependencies.rand]
version = "0.7"
[dev-dependencies.tokio-io]
version = "0.1.11"
[dev-dependencies.tokio-tcp]
version = "0.1.3"
[dev-dependencies.tokio-threadpool]
version = "0.1.10"
[features]
any_zlib = []
cloudflare_zlib = ["any_zlib", "cloudflare-zlib-sys"]
default = ["rust_backend"]
rust_backend = ["miniz_oxide"]
tokio = ["tokio-io", "futures"]
zlib = ["any_zlib", "libz-sys"]
[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.miniz_oxide]
version = "0.3.5"
[badges.appveyor]
repository = "alexcrichton/flate2-rs"
[badges.travis-ci]
repository = "alexcrichton/flate2-rs"