From 2aadc03ef15cb5ca5cc2af8a7c08e070742f0ac4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:47:55 +0200 Subject: Adding upstream version 0.70.1+ds1. Signed-off-by: Daniel Baumann --- vendor/flate2/Cargo.toml | 91 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 vendor/flate2/Cargo.toml (limited to 'vendor/flate2/Cargo.toml') diff --git a/vendor/flate2/Cargo.toml b/vendor/flate2/Cargo.toml new file mode 100644 index 0000000..23bc502 --- /dev/null +++ b/vendor/flate2/Cargo.toml @@ -0,0 +1,91 @@ +# 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.28" +authors = [ + "Alex Crichton ", + "Josh Triplett ", +] +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" + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = [ + "--cfg", + "docsrs", +] + +[dependencies.crc32fast] +version = "1.2.0" + +[dependencies.libz-sys] +version = "1.1.8" +optional = true +default-features = false + +[dependencies.miniz_oxide] +version = "0.7.1" +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_impl = [] +any_zlib = ["any_impl"] +default = ["rust_backend"] +miniz-sys = ["rust_backend"] +rust_backend = [ + "miniz_oxide", + "any_impl", +] +zlib = [ + "any_zlib", + "libz-sys", +] +zlib-default = [ + "any_zlib", + "libz-sys/default", +] + +[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.miniz_oxide] +version = "0.7.1" +features = ["with-alloc"] +default-features = false -- cgit v1.2.3