Rust 1.68.0 introduces the sparse registry protocol, which significantly reduces the amount of time cargo takes to fetch the crates.io index. This new protocol only downloads the information for crates we need, rather than all crates in the registry.
See https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html#cargos-sparse-protocol