From 3aacf3aadfa01be18edf1600ec4d1a43d30db818 Mon Sep 17 00:00:00 2001 From: kitsuyui Date: Sat, 11 Mar 2023 23:25:03 +0900 Subject: [PATCH] Use Cargo's sparse protocol Cargo's sparse protocol was introduced in Rust 1.68.0. By enabling this, the total amount of source code to be retrieved when installing with `cargo install` can be significantly reduced. As a result, the speed of CI and development speed will improve. --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 57d2d47..e4f5cb5 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,6 @@ +[registries.crates-io] +protocol = "sparse" + [target.'cfg(all())'] rustflags = [ "-Wclippy::fallible_impl_from",