-
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
Specifying synchronized dependencies #2479
Comments
Alternatively conditional dependencies, e.g.:
(ignore my atrocious syntax) |
This is somewhat along the lines of #2064 I think? |
Similar |
I believe this will be solved by public/private dependencies, the RFC for which has been accepted, and now has a tracking issue: rust-lang/rust#44663 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be helpful in some situations to be able to specify synchronization between dependencies, e.g.:
In some downstream projects, cargo occasionally mixes-and-matches these versions for
textnonce
and the compile error then appears intextnonce
, for which a bug is logged that doesn't really exist. It's very confusing to the downstream user.The real bug is that one of their dependencies requires serde 0.6, another requires serde 0.7, and it was never going to work.... but the blame lands ontextnonce
because that's what fails to compile first: mikedilger/textnonce#7The text was updated successfully, but these errors were encountered: