Feature request
The ability to inherit dependencies from the workspace, similar to Cargo.
User story
I have a workspace with some packages. Several of those packages depend on Rojo. I want them all to use the same deduped version, so I depend on pesde/rojo in the root level package, like so:
rojo = { name = "pesde/rojo", version = "^7.7.0-rc.1" }
then, in a workspace package, I can depend on the workspace pesde/rojo:
rojo = { workspace = "pesde/rojo" }
this would naturally act like any other workspace dependency, except instead of linking to our own package, it links to the root's dependency.
Alternatives
Depend on common packages individually. This causes dependency duplication throughout the workspace and also risks mismatching versions.
Feature request
The ability to inherit dependencies from the workspace, similar to Cargo.
User story
I have a workspace with some packages. Several of those packages depend on Rojo. I want them all to use the same deduped version, so I depend on
pesde/rojoin the root level package, like so:rojo = { name = "pesde/rojo", version = "^7.7.0-rc.1" }then, in a workspace package, I can depend on the workspace
pesde/rojo:rojo = { workspace = "pesde/rojo" }this would naturally act like any other workspace dependency, except instead of linking to our own package, it links to the root's dependency.
Alternatives
Depend on common packages individually. This causes dependency duplication throughout the workspace and also risks mismatching versions.