Hacker News new | ask | show | jobs
by lowq 928 days ago
Hang on just a sec

  Updating crates.io index
     Fetch [>                ] 0.12%
1 comments

Cargo is i) not a compiler, and ii) moving to the sparse index protocol [1] that do not fetch the whole index anyway. And even the older git protocol won't fetch the same data twice.

[1] https://doc.rust-lang.org/nightly/cargo/reference/registry-i...

As a fairly avid Rust user I can say I'm excited to hear that! Just playing a little devil's advocate for fun.

That said I was moderately upset by this Friday after carefully assembling a development container for a project at work. Guess I'll have to make something persistent somewhere if I don't want to twiddle my thumbs before each build.

Cargo or not you probably should do that for your container, or use a shared cache (which I do at work for both Cargo and pip) ;-)