-
Notifications
You must be signed in to change notification settings - Fork 76
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
update to 1.64 and use workspace dependencies #445
Conversation
No longer an issue as trybuild was updated |
dependabot/dependabot-core#5315 seems that this wouldn't fix this issue as some of the test errors have changed slightly |
@justinmmott Thanks for doing this. I see Renovate also opened a PR to update to 1.64 in #444. We can close that one if we wind up moving forward with this one. What does using workspace dependencies mean for consumers? Does it mean that consumers must be using 1.64 or newer? |
@davepacheco Sounds good to me. I'm not sure about what the workspace dependencies will do for customers, I was hoping the change to the |
I believe rust-toolchain.toml is used only when people clone and build |
Ah I see @ahl also called out the dependency on dependabot/dependabot-core#5315 -- that'd apply here too. |
FYI I went ahead and updated and landed #444 since it seems like there are still some open questions here. |
Accidentally discard my changes due to trying to merge main into my fork. Didn't realize the ui would even let me do that so didn't look to closely lol. But it's fine because this can be closed as the depandabot change would be able to correctly change this now. |
Ah okay. For what it's worth I think workspace inheritance is still promising here. I think we just want to make sure it won't break consumers (either by verifying that it doesn't, or by updating the ones we know about and bumping the major rev of this crate). |
Oh I totally agree, but if you guys are waiting on dependabot to make the updates automatically anyways. I can try and test to see if it will work down the line. |
I opened a PR for it dependabot/dependabot-core#5794, it should work but it's not merged yet. It's probably possible to regenerate the docker container and use it locally to make the necessary changes but I have no idea how to do that. I'll gladly accept people testing it and telling me if it works has expected in a variety of configs though 👍 |
currently
trybuild
does not work properly with workspace defined dependencies. So,serde
andproc-macro2
have been left alone in thedropshot/Cargo.toml
file. I have opened an issue on thetrybuild
repo to try and resolve this.