From f3147ce7276401a2eeac8d2ae410f70c4f4b2afb Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 29 May 2023 12:35:08 +1000 Subject: [PATCH] Opt in to new sparse index handling https://blog.rust-lang.org/inside-rust/2023/01/30/cargo-sparse-protocol.html --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 838b8d683..0222138d7 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,6 @@ +[registries.crates-io] +protocol = "sparse" + [env] STRINGS_JSON = { value = "out/rslib/i18n/strings.json", relative = true } # build script will append .exe if necessary