From 1b6a04ca5504955c571d1c97504fb45ea0befee4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 8 Jan 2024 01:21:28 +0400 Subject: Initial vendor packages Signed-off-by: Valentin Popov --- vendor/weezl/Cargo.toml | 101 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 vendor/weezl/Cargo.toml (limited to 'vendor/weezl/Cargo.toml') diff --git a/vendor/weezl/Cargo.toml b/vendor/weezl/Cargo.toml new file mode 100644 index 0000000..990ba95 --- /dev/null +++ b/vendor/weezl/Cargo.toml @@ -0,0 +1,101 @@ +# 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 = "weezl" +version = "0.1.7" +authors = ["HeroicKatora "] +exclude = ["benches/*.lzw"] +description = "Fast LZW compression and decompression." +documentation = "https://docs.rs/weezl" +readme = "README.md" +license = "MIT OR Apache-2.0" +repository = "https://github.com/image-rs/lzw.git" + +[package.metadata.docs.rs] +all-features = true + +[lib] +name = "weezl" +bench = false + +[[bin]] +name = "lzw" +path = "bin/lzw.rs" +bench = false +required-features = ["std"] + +[[example]] +name = "lzw-compress" +required-features = ["std"] + +[[example]] +name = "lzw-decompress" +required-features = ["std"] + +[[test]] +name = "async" +required-features = [ + "async", + "std", +] + +[[test]] +name = "roundtrip" +required-features = ["std"] + +[[test]] +name = "roundtrip_vec" +required-features = ["alloc"] + +[[test]] +name = "implicit_reset" +required-features = ["std"] + +[[bench]] +name = "msb8" +harness = false +required-features = ["std"] + +[dependencies.futures] +version = "0.3.12" +features = ["std"] +optional = true +default-features = false + +[dev-dependencies.criterion] +version = "0.3.1" + +[dev-dependencies.tokio] +version = "1" +features = [ + "macros", + "io-util", + "net", + "rt", + "rt-multi-thread", +] +default-features = false + +[dev-dependencies.tokio-util] +version = "0.6.2" +features = ["compat"] +default-features = false + +[features] +alloc = [] +async = [ + "futures", + "std", +] +default = ["std"] +std = ["alloc"] -- cgit v1.2.3