From 9e35efbd10a49a396b1304bd70386ac77025235e Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Tue, 31 May 2022 16:42:28 +1000 Subject: [PATCH] Add new dep zstd v0.10.0 Signed-off-by: Jiahao XU --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 4db7ace7..6b4d83f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,6 +41,13 @@ tokio = { version = "1.18.0", features = [ "full" ] } url = "2.2.2" xz2 = "0.1.6" zip = "0.6.2" +# zstd is also depended by zip. +# Since zip 0.6.2 depends on zstd 0.10.0, we also have to use 0.10.0 here, +# otherwise there will be a link conflict. +# +# Enable feature bindgen to generate C bindings. +# Enable feature zstdmt to enable multithreading in libzstd. +zstd = { version = "0.10.0", features = [ "bindgen", "zstdmt" ], default-features = false } [dev-dependencies] env_logger = "0.9.0"