-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workspace crates should have an implicit patch for crates in the workspace. #6126
Comments
I've run into this as well - it's pretty annoying! |
Ditto. |
This is really annoying. Hope it can be fixed soon |
Before anything else, I wanted to call out from our contributing guide
Until we've improved the situation, it is unlikely for any new feature we've not already committed to to be developed or reviewed. Even once that situation is resolved, it takes a person to step up and work on issues like this. Its not just a matter of implementing it but first resolving in a discussion in this thread what the behavior should be, including any compatibility concerns. Talking about use cases would also be useful to make sure the feature will work as intended. For example, we've got two upcoming features related to dependencies and a possible alternative route for this one:
With use cases, we can discuss the pros and cons of any of these as a potential alternative way of resolving the underlying need. |
I am sorry but can someone expand on why this is needed? Examples and Benches will take the deps from local code anyway, right? |
At this point, we have
Reducing the need for this. If we feel doing something is worth pursuing, there is the alternative I brought up of having |
Of note, this request is the opposite of #11133 |
Whenever using workspace crates, I often end up having to add a list of patches in the root
Cargo.toml
for all the sub crates. For example, intokio
:This is because, when compiling examples and benches (at least), the workspace crates are not, pulling from crates.io.
The text was updated successfully, but these errors were encountered: