mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
speedup git shallow cloning: Enable gix/max-performance
(#1186)
for targets: - x86_64-apple-darwin - aarch64-apple-darwin - x86_64-unknown-linux-gnu - x86_64-unknown-linux-musl which will use `zlib-ng` to speedup decompression and use assembly version for sha1 checksum calculation on supported CPU. Also enable feature `zlib-ng` on windows and - aarch64-unknown-linux-gnu - aarch64-unknown-linux-musl Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
7dea40a99a
commit
9d4694219b
4 changed files with 58 additions and 2 deletions
|
@ -52,6 +52,7 @@ windows = { version = "0.48.0", features = ["Win32_Storage_FileSystem", "Win32_F
|
|||
default = ["static", "rustls", "git"]
|
||||
|
||||
git = ["dep:gix"]
|
||||
git-max-perf = ["gix?/max-performance"]
|
||||
|
||||
static = ["binstalk-downloader/static"]
|
||||
pkg-config = ["binstalk-downloader/pkg-config"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue