[package]
name = "flate2"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
version = "0.2.20"
license = "MIT/Apache-2.0"
readme = "README.md"
keywords = ["gzip", "flate", "zlib", "encoding"]
categories = ["compression", "api-bindings"]
repository = "https://github.com/alexcrichton/flate2-rs"
homepage = "https://github.com/alexcrichton/flate2-rs"
documentation = "https://docs.rs/flate2"
description = """
Bindings to miniz.c for DEFLATE compression and decompression exposed as
Reader/Writer streams. Contains bindings for zlib, deflate, and gzip-based
streams.
"""
[workspace]
[dependencies]
libc = "0.2"
miniz-sys = { path = "miniz-sys", version = "0.1.7", optional = true }
libz-sys = { version = "1.0", optional = true }
tokio-io = { version = "0.1", optional = true }
futures = { version = "0.1", optional = true }
[dev-dependencies]
rand = "0.3"
quickcheck = { version = "0.4", default-features = false }
tokio-core = "0.1"
[features]
default = ["miniz-sys"]
zlib = ["libz-sys"]
tokio = ["tokio-io", "futures"]
[badges]
travis-ci = { repository = "alexcrichton/flate2-rs" }
appveyor = { repository = "alexcrichton/flate2-rs" }