-
Notifications
You must be signed in to change notification settings - Fork 8
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 a subcommand to verify all dependencies are inherited #2
Comments
That'd be quite nice! I would use the same CLI structure of |
Yes, I think it's fine 👍 This risk can be mitigated with a configuration file. |
I lean towards having minimal or no configuration options, although it's always difficult to predict the future. A proper sub-command is certainly more flexible. |
There could also be a flag to warn on mismatched versions as described in the readme, so they can be resolved manually |
That's already the case—any version conflict is reported in the terminal. We exit with a success status code though. |
It would be great to run this tool in CI to check if there are no duplicate dependencies across the workspace (i.e. all compatible dependencies are inherited).
Something like
cargo autoinherit check
.This command should:
additional feature
There could be an additional flag to forbid dependencies which aren't inherited.
Useful for maintainers who wants to specify all dependencies verdions in the main Cargo.toml
The text was updated successfully, but these errors were encountered: