-
Notifications
You must be signed in to change notification settings - Fork 99
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
Upgrade to all dependencies. #123
Conversation
Still working through some compilation issues, would love some help @iffyio - any ideas?
|
Interesting - the CI system (which is Rust 1.145) gives a slightly different error:
(I'm running 1.47 locally) |
Nvm, worked it out! |
0213309
to
79e3790
Compare
We are now compiling. But I have some hanging tests. Working that part out now. |
79e3790
to
9c57323
Compare
Okay, narrowed something down. it's the integration test Weirdly, if I replace |
Narrowed it down further. Inside |
Not sure if red herring or not, but I think warp is complaining there's not a Tokio engine started, which seems weird.
|
...and I found the issue. Warp doesn't support a Tokio of version 0.3 yet |
Ah 😞 we likely would need to wait for warp/hyper to update first? It sounded like they're already on it though hopefully not too long |
awslabs/aws-lambda-rust-runtime#266 (comment) Might be a potential workaround in the meantime. |
That looks promising if its not much work, from the docs it sounds like it should be enough with |
Looks like it's worth taking for a spin anyway. I'm behind on some Agones reviews, so I should probably head back over there for a bit, then come back and see if I can make this work. Oh yeah, and finish my other PR's here and review your work too 🤣 😭 |
This upgrades all dependencies, which includes some breaking changes to Tokio, with adjustments to our code base to handle the changes. For example: UdpSocket can no longer be split. The Tokio advice was to wrap the UdpSocket in an Arc. Also, the API surface for Tokio watch channels has also changed.
9c57323
to
835f5f9
Compare
Tried a bunch of stuff with |
I got REALLY close with help from Tokio team on Discord. The only issue is, the function now blocks here: Line 69 in f9c3cf2
And I can't work out how to make it run in the background with tokio::spawn() |
I'm going to close this for now, and we can return it it again when Hyper supports Tokio 0.3 |
This upgrades all dependencies, which includes some breaking changes to Tokio, with adjustments to our code base to handle the changes.
For example: UdpSocket can no longer be split. The Tokio advice was to wrap the UdpSocket in an Arc. Also, the API surface for Tokio watch channels has also changed.