kraken-build / kraken

The Kraken build system.
https://kraken-build.github.io/kraken/
28 stars 12 forks source link

fix: inject version for path dependencies in workspace virtual manifests #238

Open tomkarw opened 7 months ago

tomkarw commented 7 months ago

There was an unhandled case in version injection task.

For a project with virtual manifest like this:

# in /Cargo.toml

[workspace.dependencies]
subcrate = { path = "./subcrate" }

Kraken would not inject version and registry attributes.

This MR fixes it, by correctly injecting versions for dependencies declared in workspaces with virtual manifest.

Decisions: