abuild.conf: add CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse

This speeds up fetching of the crates index.

https://blog.rust-lang.org/inside-rust/2023/01/30/cargo-sparse-protocol.html
This commit is contained in:
Jakub Jirutka 2023-03-12 12:18:51 +01:00 committed by Natanael Copa
parent 97509ac620
commit d7f5c73806
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ export CARGO_PROFILE_RELEASE_OPT_LEVEL="s"
export CARGO_PROFILE_RELEASE_PANIC="abort"
export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
export CARGO_PROFILE_RELEASE_LTO="true"
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse"
# remove line below to disable colors
USE_COLORS=1