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

Add support for --locked flag #83

Open
tgnottingham opened this issue Aug 21, 2023 · 1 comment
Open

Add support for --locked flag #83

tgnottingham opened this issue Aug 21, 2023 · 1 comment

Comments

@tgnottingham
Copy link
Contributor

tgnottingham commented Aug 21, 2023

This is a feature request to add support for a --locked flag which would cause cargo-machete to produce an error rather than inadvertently modify Cargo.toml files (currently only applicable when --with-metadata is used).

@bnjbvr
Copy link
Owner

bnjbvr commented Aug 21, 2023

Thanks for opening an issue, that makes sense to me. In fact, I seem to recall I've tried to make the behavior you're suggesting here the default (as there's really no reason that machete will update the lock files), but I didn't manage to do it, for some reason I don't remember.

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

2 participants