This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
📎 Use the workspace to define internal crate dependencies #4510
Labels
A-Tooling
Area: our own build, development, and release tooling
good first issue
Good for newcomers
Help wanted
Help would be really appreciated
I-Easy
Implementation: easy task, usually a good fit for new contributors
task
A task, an action that needs to be performed
Milestone
Description
At the moment, in our workspace, we have internal crates that depend on others like this:
tools/crates/rome_js_parser/Cargo.toml
Lines 14 to 20 in 1837190
These lines are repeated across all the
Cargo.toml
. This is not maintainable when we need to update the version numbers, for example.We want to change this by doing the following:
Cargo.toml
, at the root of the workspace, below[workspace.dependencies]
rome_
creates in the variousCargo.toml
, like this:The text was updated successfully, but these errors were encountered: