Thiébaud Weksteen | 3134895 | 2021-05-11 14:08:42 +0200 | [diff] [blame] | 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 |
Joel Galenson | 9742830 | 2021-09-22 10:54:49 -0700 | [diff] [blame] | 6 | # to registry (e.g., crates.io) dependencies. |
Thiébaud Weksteen | 3134895 | 2021-05-11 14:08:42 +0200 | [diff] [blame] | 7 | # |
Joel Galenson | 9742830 | 2021-09-22 10:54:49 -0700 | [diff] [blame] | 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. |
Thiébaud Weksteen | 3134895 | 2021-05-11 14:08:42 +0200 | [diff] [blame] | 11 | |
| 12 | [package] |
| 13 | edition = "2018" |
| 14 | name = "flate2" |
Joel Galenson | 9742830 | 2021-09-22 10:54:49 -0700 | [diff] [blame] | 15 | version = "1.0.22" |
Thiébaud Weksteen | 3134895 | 2021-05-11 14:08:42 +0200 | [diff] [blame] | 16 | authors = ["Alex Crichton <alex@alexcrichton.com>", "Josh Triplett <josh@joshtriplett.org>"] |
| 17 | description = "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" |
| 18 | homepage = "https://github.com/rust-lang/flate2-rs" |
| 19 | documentation = "https://docs.rs/flate2" |
| 20 | readme = "README.md" |
| 21 | keywords = ["gzip", "deflate", "zlib", "zlib-ng", "encoding"] |
| 22 | categories = ["compression", "api-bindings"] |
| 23 | license = "MIT/Apache-2.0" |
| 24 | repository = "https://github.com/rust-lang/flate2-rs" |
| 25 | [dependencies.cfg-if] |
| 26 | version = "1.0.0" |
| 27 | |
| 28 | [dependencies.cloudflare-zlib-sys] |
Joel Galenson | 9742830 | 2021-09-22 10:54:49 -0700 | [diff] [blame] | 29 | version = "0.3.0" |
Thiébaud Weksteen | 3134895 | 2021-05-11 14:08:42 +0200 | [diff] [blame] | 30 | optional = true |
| 31 | |
| 32 | [dependencies.crc32fast] |
| 33 | version = "1.2.0" |
| 34 | |
| 35 | [dependencies.futures] |
| 36 | version = "0.1.25" |
| 37 | optional = true |
| 38 | |
| 39 | [dependencies.libc] |
| 40 | version = "0.2.65" |
| 41 | |
| 42 | [dependencies.libz-sys] |
| 43 | version = "1.1.0" |
| 44 | optional = true |
| 45 | default-features = false |
| 46 | |
| 47 | [dependencies.miniz-sys] |
| 48 | version = "0.1.11" |
| 49 | optional = true |
| 50 | |
| 51 | [dependencies.miniz_oxide] |
| 52 | version = "0.4.0" |
| 53 | optional = true |
| 54 | default-features = false |
| 55 | |
| 56 | [dependencies.tokio-io] |
| 57 | version = "0.1.11" |
| 58 | optional = true |
| 59 | [dev-dependencies.futures] |
| 60 | version = "0.1" |
| 61 | |
| 62 | [dev-dependencies.quickcheck] |
| 63 | version = "0.9" |
| 64 | default-features = false |
| 65 | |
| 66 | [dev-dependencies.rand] |
| 67 | version = "0.7" |
| 68 | |
| 69 | [dev-dependencies.tokio-io] |
| 70 | version = "0.1.11" |
| 71 | |
| 72 | [dev-dependencies.tokio-tcp] |
| 73 | version = "0.1.3" |
| 74 | |
| 75 | [dev-dependencies.tokio-threadpool] |
| 76 | version = "0.1.10" |
| 77 | |
| 78 | [features] |
| 79 | any_zlib = [] |
| 80 | cloudflare_zlib = ["any_zlib", "cloudflare-zlib-sys"] |
| 81 | default = ["rust_backend"] |
| 82 | rust_backend = ["miniz_oxide"] |
| 83 | tokio = ["tokio-io", "futures"] |
| 84 | zlib = ["any_zlib", "libz-sys"] |
| 85 | zlib-ng-compat = ["zlib", "libz-sys/zlib-ng"] |
| 86 | [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.miniz_oxide] |
| 87 | version = "0.4.0" |
| 88 | default-features = false |