summaryrefslogtreecommitdiffstats
path: root/third_party/rust/flate2/Cargo.toml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /third_party/rust/flate2/Cargo.toml
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/rust/flate2/Cargo.toml')
-rw-r--r--third_party/rust/flate2/Cargo.toml96
1 files changed, 96 insertions, 0 deletions
diff --git a/third_party/rust/flate2/Cargo.toml b/third_party/rust/flate2/Cargo.toml
new file mode 100644
index 0000000000..68516e5e75
--- /dev/null
+++ b/third_party/rust/flate2/Cargo.toml
@@ -0,0 +1,96 @@
+# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
+#
+# When uploading crates to the registry Cargo will automatically
+# "normalize" Cargo.toml files for maximal compatibility
+# with all versions of Cargo and also rewrite `path` dependencies
+# to registry (e.g., crates.io) dependencies.
+#
+# If you are reading this file be aware that the original Cargo.toml
+# will likely look very different (and much more reasonable).
+# See Cargo.toml.orig for the original contents.
+
+[package]
+edition = "2018"
+name = "flate2"
+version = "1.0.25"
+authors = [
+ "Alex Crichton <alex@alexcrichton.com>",
+ "Josh Triplett <josh@joshtriplett.org>",
+]
+description = """
+DEFLATE compression and decompression exposed as Read/BufRead/Write streams.
+Supports miniz_oxide and multiple zlib implementations. Supports zlib, gzip,
+and raw deflate streams.
+"""
+homepage = "https://github.com/rust-lang/flate2-rs"
+documentation = "https://docs.rs/flate2"
+readme = "README.md"
+keywords = [
+ "gzip",
+ "deflate",
+ "zlib",
+ "zlib-ng",
+ "encoding",
+]
+categories = [
+ "compression",
+ "api-bindings",
+]
+license = "MIT OR Apache-2.0"
+repository = "https://github.com/rust-lang/flate2-rs"
+
+[dependencies.cloudflare-zlib-sys]
+version = "0.3.0"
+optional = true
+
+[dependencies.crc32fast]
+version = "1.2.0"
+
+[dependencies.libz-ng-sys]
+version = "1.1.8"
+optional = true
+
+[dependencies.libz-sys]
+version = "1.1.8"
+optional = true
+default-features = false
+
+[dependencies.miniz_oxide]
+version = "0.6.0"
+features = ["with-alloc"]
+optional = true
+default-features = false
+
+[dev-dependencies.quickcheck]
+version = "1.0"
+default-features = false
+
+[dev-dependencies.rand]
+version = "0.8"
+
+[features]
+any_zlib = []
+cloudflare_zlib = [
+ "any_zlib",
+ "cloudflare-zlib-sys",
+]
+default = ["rust_backend"]
+miniz-sys = ["rust_backend"]
+rust_backend = ["miniz_oxide"]
+zlib = [
+ "any_zlib",
+ "libz-sys",
+]
+zlib-ng = [
+ "any_zlib",
+ "libz-ng-sys",
+]
+zlib-ng-compat = [
+ "zlib",
+ "libz-sys/zlib-ng",
+]
+
+[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.miniz_oxide]
+version = "0.6.0"
+features = ["with-alloc"]
+default-features = false