Open tomkarw opened 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.
version
registry
This MR fixes it, by correctly injecting versions for dependencies declared in workspaces with virtual manifest.
Decisions:
_raw
to_json
self._raw
There was an unhandled case in version injection task.
For a project with virtual manifest like this:
Kraken would not inject
version
andregistry
attributes.This MR fixes it, by correctly injecting versions for dependencies declared in workspaces with virtual manifest.
Decisions:
_raw
attribute to most manifest related classes, store raw JSON data there (without removing the handled fields)_raw
and use a getter with deprecation warning for backward compatibilityto_json
methods could be simplified, as they can simply returnself._raw