You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cargo 1.64.0 has a new feature called workspace inheritance. You can define dependencies in your workspace and then crates within your workspace can refer to them. This way you define the version only once. This makes version upgrades way easier, while making sure all crates are on the same version.
All shared dependencies are defined in the workspace and the individual crates refer to them.
Risks + pitfalls
I'm not sure how tricky it is to get everything right, given we use features and optional dependencies quite a bit. But as soon as CI is green, I'm confident that things are correct.
Where to begin
Increase the rust-toolchain version to 1.64.0. Then look at the dependencies of the crates and determine shared dependencies. Put those into the workspace and inherit their values from the crates themselves.
The text was updated successfully, but these errors were encountered:
Description
Cargo 1.64.0 has a new feature called workspace inheritance. You can define dependencies in your workspace and then crates within your workspace can refer to them. This way you define the version only once. This makes version upgrades way easier, while making sure all crates are on the same version.
For more information see https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace
Acceptance criteria
All shared dependencies are defined in the workspace and the individual crates refer to them.
Risks + pitfalls
I'm not sure how tricky it is to get everything right, given we use features and optional dependencies quite a bit. But as soon as CI is green, I'm confident that things are correct.
Where to begin
Increase the
rust-toolchain
version to 1.64.0. Then look at the dependencies of the crates and determine shared dependencies. Put those into the workspace and inherit their values from the crates themselves.The text was updated successfully, but these errors were encountered: