cargo update removes uninstalled deps from target/, when detected they have been removed from Cargo.toml · Issue #6435 · rust-lang/cargo (original) (raw)
Describe the problem you are trying to solve
I get quite annoyed of having to clear my target folder and rebuild everytime this happens, and I don't feel like digging through target/
in search for my package.
Describe the solution you'd like
An extension to cargo update (maybe even a seperate command) that removes unused packages from target/
.