| 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.30" |
| 16 |
authors = [ |
| 17 |
"Alex Crichton <[email protected]>", |
| 18 |
"Josh Triplett <[email protected]>", |
| 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 |
[package.metadata.docs.rs] |
| 43 |
all-features = true |
| 44 |
rustdoc-args = [ |
| 45 |
"--cfg", |
| 46 |
"docsrs", |
| 47 |
] |
| 48 |
|
| 49 |
[dependencies.cloudflare-zlib-sys] |
| 50 |
version = "0.3.0" |
| 51 |
optional = true |
| 52 |
|
| 53 |
[dependencies.crc32fast] |
| 54 |
version = "1.2.0" |
| 55 |
|
| 56 |
[dependencies.libz-ng-sys] |
| 57 |
version = "1.1.8" |
| 58 |
optional = true |
| 59 |
|
| 60 |
[dependencies.libz-rs-sys] |
| 61 |
version = "0.1.1" |
| 62 |
features = [ |
| 63 |
"std", |
| 64 |
"rust-allocator", |
| 65 |
] |
| 66 |
optional = true |
| 67 |
default-features = false |
| 68 |
|
| 69 |
[dependencies.libz-sys] |
| 70 |
version = "1.1.8" |
| 71 |
optional = true |
| 72 |
default-features = false |
| 73 |
|
| 74 |
[dependencies.miniz_oxide] |
| 75 |
version = "0.7.1" |
| 76 |
features = ["with-alloc"] |
| 77 |
optional = true |
| 78 |
default-features = false |
| 79 |
|
| 80 |
[dev-dependencies.quickcheck] |
| 81 |
version = "1.0" |
| 82 |
default-features = false |
| 83 |
|
| 84 |
[dev-dependencies.rand] |
| 85 |
version = "0.8" |
| 86 |
|
| 87 |
[features] |
| 88 |
any_impl = [] |
| 89 |
any_zlib = ["any_impl"] |
| 90 |
cloudflare_zlib = [ |
| 91 |
"any_zlib", |
| 92 |
"cloudflare-zlib-sys", |
| 93 |
] |
| 94 |
default = ["rust_backend"] |
| 95 |
miniz-sys = ["rust_backend"] |
| 96 |
rust_backend = [ |
| 97 |
"miniz_oxide", |
| 98 |
"any_impl", |
| 99 |
] |
| 100 |
zlib = [ |
| 101 |
"any_zlib", |
| 102 |
"libz-sys", |
| 103 |
] |
| 104 |
zlib-default = [ |
| 105 |
"any_zlib", |
| 106 |
"libz-sys/default", |
| 107 |
] |
| 108 |
zlib-ng = [ |
| 109 |
"any_zlib", |
| 110 |
"libz-ng-sys", |
| 111 |
] |
| 112 |
zlib-ng-compat = [ |
| 113 |
"zlib", |
| 114 |
"libz-sys/zlib-ng", |
| 115 |
] |
| 116 |
zlib-rs = [ |
| 117 |
"any_zlib", |
| 118 |
"libz-rs-sys", |
| 119 |
] |
| 120 |
|
| 121 |
[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.miniz_oxide] |
| 122 |
version = "0.7.1" |
| 123 |
features = ["with-alloc"] |
| 124 |
default-features = false |