Replies: 2 comments 6 replies
-
|
Hi @TheButlah thanks for the discussion! Unfortunately, given the way that cargo operates this is simply not possible. Cargo requires that all sources in the The best way to achieve what you are looking for is to create a separate cargo workspace which only includes your top-level crate (e.g. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
BTW. Caching should paper over it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Right now when using crane it appears as though all workspace dependencies get fetched. This results in much slower builds when I'm only interested in a single crate in the workspace.
Describe the solution you'd like
If
cargoExtraArgs = -p my-crateis passed, onlymy-crate's dependencies get fetchedDescribe alternatives you've considered
?
Additional context
?
Beta Was this translation helpful? Give feedback.
All reactions