mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-23 16:32:23 +03:00
00564437f3
Crates from git repos are vendored in a flattened directory where each crate shows up at the root of the vendor directory. Since the vendoring step effectively breaks workspace structures, any crates which use workspace inheritance (e.g. package.version.workspace = true will fail to resolve. To work around this we inspect the crate's workspace manifest (if it exists) and attempt to manually merge the values while copying the contents to the vendor directory. |
||
---|---|---|
.. | ||
src | ||
Cargo.lock | ||
Cargo.toml |