Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to automatically re-write Cargo.toml #82

Open
mimoo opened this issue Nov 12, 2020 · 3 comments
Open

option to automatically re-write Cargo.toml #82

mimoo opened this issue Nov 12, 2020 · 3 comments

Comments

@mimoo
Copy link

mimoo commented Nov 12, 2020

that would be swell :)

@est31
Copy link
Owner

est31 commented Nov 12, 2020

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.

@jayvdb
Copy link
Contributor

jayvdb commented Dec 9, 2022

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

@jmintb
Copy link

jmintb commented Aug 1, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants