3 ms·
I've found the sparse protocol many times faster than git since Rust 1.68 To use the sparse protocol with crates.io, set the environment variable CARGO_REGISTR
by cyann 4y ago
I've found the sparse protocol many times faster than git since Rust 1.68
To use the sparse protocol with crates.io, set the environment variable CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse, or edit your .cargo/config.toml file to add:
[registries.crates-io]
protocol = "sparse"
https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html#cargos-sparse-protocol https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html#cargo...