1# 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
6# to registry (e.g., crates.io) dependencies.
7#
8# 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.
11
12[package]
13edition = "2018"
14name = "flate2"
15version = "1.0.28"
16authors = [
17    "Alex Crichton <[email protected]>",
18    "Josh Triplett <[email protected]>",
19]
20description = """
21DEFLATE compression and decompression exposed as Read/BufRead/Write streams.
22Supports miniz_oxide and multiple zlib implementations. Supports zlib, gzip,
23and raw deflate streams.
24"""
25homepage = "https://github.com/rust-lang/flate2-rs"
26documentation = "https://docs.rs/flate2"
27readme = "README.md"
28keywords = [
29    "gzip",
30    "deflate",
31    "zlib",
32    "zlib-ng",
33    "encoding",
34]
35categories = [
36    "compression",
37    "api-bindings",
38]
39license = "MIT OR Apache-2.0"
40repository = "https://github.com/rust-lang/flate2-rs"
41
42[package.metadata.docs.rs]
43all-features = true
44rustdoc-args = [
45    "--cfg",
46    "docsrs",
47]
48
49[dependencies.cloudflare-zlib-sys]
50version = "0.3.0"
51optional = true
52
53[dependencies.crc32fast]
54version = "1.2.0"
55
56[dependencies.libz-ng-sys]
57version = "1.1.8"
58optional = true
59
60[dependencies.libz-sys]
61version = "1.1.8"
62optional = true
63default-features = false
64
65[dependencies.miniz_oxide]
66version = "0.7.1"
67features = ["with-alloc"]
68optional = true
69default-features = false
70
71[dev-dependencies.quickcheck]
72version = "1.0"
73default-features = false
74
75[dev-dependencies.rand]
76version = "0.8"
77
78[features]
79any_impl = []
80any_zlib = ["any_impl"]
81cloudflare_zlib = [
82    "any_zlib",
83    "cloudflare-zlib-sys",
84]
85default = ["rust_backend"]
86miniz-sys = ["rust_backend"]
87rust_backend = [
88    "miniz_oxide",
89    "any_impl",
90]
91zlib = [
92    "any_zlib",
93    "libz-sys",
94]
95zlib-default = [
96    "any_zlib",
97    "libz-sys/default",
98]
99zlib-ng = [
100    "any_zlib",
101    "libz-ng-sys",
102]
103zlib-ng-compat = [
104    "zlib",
105    "libz-sys/zlib-ng",
106]
107
108[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.miniz_oxide]
109version = "0.7.1"
110features = ["with-alloc"]
111default-features = false
112