blob: 28649e8e76d75bb6f63c4583152ca545b9379fa7 [file] [log] [blame]
Thiébaud Weksteen31348952021-05-11 14:08:42 +02001# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
Joel Galenson97428302021-09-22 10:54:49 -07006# to registry (e.g., crates.io) dependencies.
Thiébaud Weksteen31348952021-05-11 14:08:42 +02007#
Joel Galenson97428302021-09-22 10:54:49 -07008# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
Thiébaud Weksteen31348952021-05-11 14:08:42 +020011
12[package]
13edition = "2018"
14name = "flate2"
Joel Galenson97428302021-09-22 10:54:49 -070015version = "1.0.22"
Thiébaud Weksteen31348952021-05-11 14:08:42 +020016authors = ["Alex Crichton <alex@alexcrichton.com>", "Josh Triplett <josh@joshtriplett.org>"]
17description = "DEFLATE compression and decompression exposed as Read/BufRead/Write streams.\nSupports miniz_oxide, miniz.c, and multiple zlib implementations. Supports\nzlib, gzip, and raw deflate streams.\n"
18homepage = "https://github.com/rust-lang/flate2-rs"
19documentation = "https://docs.rs/flate2"
20readme = "README.md"
21keywords = ["gzip", "deflate", "zlib", "zlib-ng", "encoding"]
22categories = ["compression", "api-bindings"]
23license = "MIT/Apache-2.0"
24repository = "https://github.com/rust-lang/flate2-rs"
25[dependencies.cfg-if]
26version = "1.0.0"
27
28[dependencies.cloudflare-zlib-sys]
Joel Galenson97428302021-09-22 10:54:49 -070029version = "0.3.0"
Thiébaud Weksteen31348952021-05-11 14:08:42 +020030optional = true
31
32[dependencies.crc32fast]
33version = "1.2.0"
34
35[dependencies.futures]
36version = "0.1.25"
37optional = true
38
39[dependencies.libc]
40version = "0.2.65"
41
42[dependencies.libz-sys]
43version = "1.1.0"
44optional = true
45default-features = false
46
47[dependencies.miniz-sys]
48version = "0.1.11"
49optional = true
50
51[dependencies.miniz_oxide]
52version = "0.4.0"
53optional = true
54default-features = false
55
56[dependencies.tokio-io]
57version = "0.1.11"
58optional = true
59[dev-dependencies.futures]
60version = "0.1"
61
62[dev-dependencies.quickcheck]
63version = "0.9"
64default-features = false
65
66[dev-dependencies.rand]
67version = "0.7"
68
69[dev-dependencies.tokio-io]
70version = "0.1.11"
71
72[dev-dependencies.tokio-tcp]
73version = "0.1.3"
74
75[dev-dependencies.tokio-threadpool]
76version = "0.1.10"
77
78[features]
79any_zlib = []
80cloudflare_zlib = ["any_zlib", "cloudflare-zlib-sys"]
81default = ["rust_backend"]
82rust_backend = ["miniz_oxide"]
83tokio = ["tokio-io", "futures"]
84zlib = ["any_zlib", "libz-sys"]
85zlib-ng-compat = ["zlib", "libz-sys/zlib-ng"]
86[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.miniz_oxide]
87version = "0.4.0"
88default-features = false