So many crates break when you set target-dir in ~/.cargo/config

Regarding the broader point... I do sometimes wish Cargo had a feature to centralize the storage of built dependencies(basically the deps directory in target/debug) because it always seems a little disconcerting to start a small sandbox project and see it use up 1 gig of hard drive space because you included Actix. The obvious counterpoint is that after the recent-ish kerfuffle over incremental builds I can easily appreciate how hard that would be to get right.

1 Like