Hacker News new | ask | show | jobs
by cyann 1173 days 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#cargo...