4 ms·
Cargo is hard-coded to use GitHub for the crates.io index [1] [1] https://github.com/rust-lang/cargo/blob/master/src/cargo/sources/registry/mod.rs#L190 https:/
by VWWHFSfQ 4y ago
Cargo is hard-coded to use GitHub for the crates.io index [1]
[1] https://github.com/rust-lang/cargo/blob/master/src/cargo/sources/registry/mod.rs#L190 https://github.com/rust-lang/cargo/blob/master/src/cargo/sou...
- snacktaster 4y agoThat's a big yikes...
- inejge 4y agoThat's being addressed with a new index protocol, specified a while ago[1], available for testing since the middle of the last year[2], and slated for release in a week's time[3]. [1] https://rust-lang.github.io/rfcs/2789-sparse-index.html https://rust-lang.github.io/rfcs/2789-sparse-index.html [2] https://blog.rust-lang.org/2022/06/22/sparse-registry-testing.html https://blog.rust-lang.org/2022/06/22/sparse-registry-testin... [3] https://blog.rust-lang.org/inside-rust/2023/01/30/cargo-sparse-protocol.html https://blog.rust-lang.org/inside-rust/2023/01/30/cargo-spar...
- bin_bash 4y agoI stand corrected—I was thinking of the crates themselves.