Skip to content

Ability to inherit workspace dependencies #66

Description

@jackTabsCode

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions