We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
If a package has a dependencies entry that specifies a source besides workspace = true, it fires
workspace = true
See also rust-lang/rust-clippy#10306
For projects that want to be consistent on their dependencies across a workspace
[dependencies] serde = "1"
Could be written as:
[workspace.dependencies] serde = "1" [dependencies] serde.workspace = true
The text was updated successfully, but these errors were encountered:
Alternatively, cargo-deny focuses on de-duplication, see https://embarkstudios.github.io/cargo-deny/checks/bans/diags.html#workspace-duplicate
cargo-deny
Sorry, something went wrong.
No branches or pull requests
What it does
If a package has a dependencies entry that specifies a source besides
workspace = true
, it firesSee also rust-lang/rust-clippy#10306
Advantage
For projects that want to be consistent on their dependencies across a workspace
Drawbacks
Example
Could be written as:
The text was updated successfully, but these errors were encountered: