-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-new-lintArea: new lintArea: new lintS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
What it does
If a package has a dependencies entry that specifies a source besides workspace = true
, it fires
See also rust-lang/rust-clippy#10306
Advantage
For projects that want to be consistent on their dependencies across a workspace
Drawbacks
- Poor interaction between workspace dependencies and default-features #12162
- Packages cannot have different version requirements (Ability to inherit a dependency path while overriding the version requirement #15526)
Example
[dependencies]
serde = "1"
Could be written as:
[workspace.dependencies]
serde = "1"
[dependencies]
serde.workspace = true
stanislav-tkach, kraktus and philipch07
Metadata
Metadata
Assignees
Labels
A-new-lintArea: new lintArea: new lintS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.