mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Only enable feature "thin" of dep zstd
Disable "bindgen" that creates a bindgen at build time, which takes quite some time and pulls in dep "bindgen" at bulid time. Also disable feature "zstdmt" as we don't need multithreading here. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
1e81babea8
commit
f59d081733
2 changed files with 6 additions and 169 deletions
|
@ -63,9 +63,8 @@ zip = { version = "0.6.2", default-features = false, features = ["deflate", "bzi
|
|||
# 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 }
|
||||
# Enable feature thin to optimize zstd by size.
|
||||
zstd = { version = "0.10.0", features = ["thin"], default-features = false }
|
||||
|
||||
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies]
|
||||
guess_host_triple = "0.1.3"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue