News for hackers. Stuff that matters.
Re:Zed is now available on Windows by andrewl-hn on Thursday October 16, 2025 @09:16AM (#45604963)
Cargo does the de-duplication, but only up to a point. If two packages request the same dependency with semver ranges that have a common overlap (say, `1.4` and `1.6`) then it will use a single package for both (say, `1.7.12`). But if they request semver-incompatible versions (`2.1` and `1.6`) then cargo will use both.
Re:Zed is now available on Windows by panzi on Thursday October 16, 2025 @09:20PM (#45612463)
I read the question differently as: Why doesn't cargo cache (compiled) crates in ~/.cargo?