]> git.proxmox.com Git - rustc.git/blob - vendor/flate2/Cargo.toml
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / flate2 / Cargo.toml
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]
13 edition = "2018"
14 name = "flate2"
15 version = "1.0.24"
16 authors = [
17 "Alex Crichton <alex@alexcrichton.com>",
18 "Josh Triplett <josh@joshtriplett.org>",
19 ]
20 description = """
21 DEFLATE compression and decompression exposed as Read/BufRead/Write streams.
22 Supports miniz_oxide and multiple zlib implementations. Supports zlib, gzip,
23 and raw deflate streams.
24 """
25 homepage = "https://github.com/rust-lang/flate2-rs"
26 documentation = "https://docs.rs/flate2"
27 readme = "README.md"
28 keywords = [
29 "gzip",
30 "deflate",
31 "zlib",
32 "zlib-ng",
33 "encoding",
34 ]
35 categories = [
36 "compression",
37 "api-bindings",
38 ]
39 license = "MIT OR Apache-2.0"
40 repository = "https://github.com/rust-lang/flate2-rs"
41
42 [dependencies.cloudflare-zlib-sys]
43 version = "0.3.0"
44 optional = true
45
46 [dependencies.crc32fast]
47 version = "1.2.0"
48
49 [dependencies.libz-ng-sys]
50 version = "1.1.8"
51 optional = true
52
53 [dependencies.libz-sys]
54 version = "1.1.8"
55 optional = true
56 default-features = false
57
58 [dependencies.miniz_oxide]
59 version = "0.5.0"
60 optional = true
61 default-features = false
62
63 [dev-dependencies.quickcheck]
64 version = "1.0"
65 default-features = false
66
67 [dev-dependencies.rand]
68 version = "0.8"
69
70 [features]
71 any_zlib = []
72 cloudflare_zlib = [
73 "any_zlib",
74 "cloudflare-zlib-sys",
75 ]
76 default = ["rust_backend"]
77 miniz-sys = ["rust_backend"]
78 rust_backend = ["miniz_oxide"]
79 zlib = [
80 "any_zlib",
81 "libz-sys",
82 ]
83 zlib-ng = [
84 "any_zlib",
85 "libz-ng-sys",
86 ]
87 zlib-ng-compat = [
88 "zlib",
89 "libz-sys/zlib-ng",
90 ]
91
92 [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.miniz_oxide]
93 version = "0.5.0"
94 default-features = false