Add new dep zstd v0.10.0

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-05-31 16:42:28 +10:00
parent f0e7fa0111
commit 9e35efbd10
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -41,6 +41,13 @@ tokio = { version = "1.18.0", features = [ "full" ] }
url = "2.2.2" url = "2.2.2"
xz2 = "0.1.6" xz2 = "0.1.6"
zip = "0.6.2" 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] [dev-dependencies]
env_logger = "0.9.0" env_logger = "0.9.0"