cargo-udeps icon indicating copy to clipboard operation
cargo-udeps copied to clipboard

option to automatically re-write Cargo.toml

Open mimoo opened this issue 4 years ago • 3 comments

that would be swell :)

mimoo avatar Nov 12 '20 23:11 mimoo

That's an interesting suggestion, and I guess https://github.com/matklad/tom would be helpful here too. Note though that cargo-udeps currently has some false positive bugs so removing stuff unconditionally might break the build :). It could turn that into a strength though and attempt to build with the dependencies removed, and if it fails, readd the dependency.

est31 avatar Nov 12 '20 23:11 est31

https://github.com/bnjbvr/cargo-machete has option --fix which can do this.

jayvdb avatar Dec 09 '22 01:12 jayvdb

I wouldn't mind this feature, can I draft a PR or it?

jmintb avatar Aug 01 '23 15:08 jmintb