-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Description
Consider a workspace with the following structure:
- Local crate 1, depends on external dependencies
- Local crate 2, depends on external dependencies + local crate 1
... where the external dependencies also depend on crate 1.
What happens is that we won't be able to make changes to crate 1 since the following will happen:
- Version of
crate 1is set to0.0.1(https://github.com/LukeMathWalker/cargo-chef/blob/main/src/skeleton/version_masking.rs#L22) - Patch added for that
crate 2depends onwhateverwhich depends oncrate 1 0.4.0so won't get patchedcrate 2will have 2 versions ofcrate 1: the local0.0.1and the remote older0.4.0
Is there a way to work around this that I might be missing?
Metadata
Metadata
Assignees
Labels
No labels