blob: 08ee25b60cf7ae1a33f0000bd9013b24b4765bba [file] [log] [blame]
Thiébaud Weksteen31348952021-05-11 14:08:42 +02001[package]
2name = "flate2"
3authors = ["Alex Crichton <alex@alexcrichton.com>", "Josh Triplett <josh@joshtriplett.org>"]
Joel Galenson97428302021-09-22 10:54:49 -07004version = "1.0.22"
Thiébaud Weksteen31348952021-05-11 14:08:42 +02005edition = "2018"
6license = "MIT/Apache-2.0"
7readme = "README.md"
8keywords = ["gzip", "deflate", "zlib", "zlib-ng", "encoding"]
9categories = ["compression", "api-bindings"]
10repository = "https://github.com/rust-lang/flate2-rs"
11homepage = "https://github.com/rust-lang/flate2-rs"
12documentation = "https://docs.rs/flate2"
13description = """
14DEFLATE compression and decompression exposed as Read/BufRead/Write streams.
15Supports miniz_oxide, miniz.c, and multiple zlib implementations. Supports
16zlib, gzip, and raw deflate streams.
17"""
18
19[workspace]
20members = ['systest']
21
22[dependencies]
23libc = "0.2.65"
24cfg-if = "1.0.0"
25miniz-sys = { path = "miniz-sys", version = "0.1.11", optional = true }
26libz-sys = { version = "1.1.0", optional = true, default-features = false }
Joel Galenson97428302021-09-22 10:54:49 -070027cloudflare-zlib-sys = { version = "0.3.0", optional = true }
Thiébaud Weksteen31348952021-05-11 14:08:42 +020028tokio-io = { version = "0.1.11", optional = true }
29futures = { version = "0.1.25", optional = true }
30miniz_oxide = { version = "0.4.0", optional = true, default-features = false }
31crc32fast = "1.2.0"
32
33[target.'cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))'.dependencies]
34miniz_oxide = { version = "0.4.0", default-features = false }
35
36[dev-dependencies]
37rand = "0.7"
38quickcheck = { version = "0.9", default-features = false }
39tokio-io = "0.1.11"
40tokio-tcp = "0.1.3"
41tokio-threadpool = "0.1.10"
42futures = "0.1"
43
44[features]
45default = ["rust_backend"]
46any_zlib = [] # note: this is not a real user-facing feature
47zlib = ["any_zlib", "libz-sys"]
48zlib-ng-compat = ["zlib", "libz-sys/zlib-ng"]
49cloudflare_zlib = ["any_zlib", "cloudflare-zlib-sys"]
50rust_backend = ["miniz_oxide"]
51tokio = ["tokio-io", "futures"]