-
Notifications
You must be signed in to change notification settings - Fork 273
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
Migrate to Tokio 0.2 #603
Migrate to Tokio 0.2 #603
Conversation
Rather than separately pulling 0.2 and 0.4 versions.
Otherwise we can't return a future due to borrow on Endpoint::incoming
The former uses Tokio 0.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
It seems this only needs a second, separate approval and should be good to go 🎉 |
Yeah, I will review it, latest on Monday. |
|
||
[dev-dependencies] | ||
tokio = { version = "0.2", features = ["rt-core", "macros"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these dev-dependencies
will leaked into the release
build, however rust-lang/cargo#8997 have been stabalized so should be included in the next Rust release I guess.
tcp/src/server.rs
Outdated
@@ -1,14 +1,14 @@ | |||
use std; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use std; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work LGTM, I didn't review it super carefully except the Windows mio hacks.
While going through the diff again I noticed that I removed a Tokio re-export in ipc server - rolled that back in a05cd4e by adding the re-export. Since this is all green, I'm merging it. Thank you for taking your time to review this! |
Motivated to migrate RLS off Tokio 0.1 for IPC transport but since we're at it, it might make sense to migrate everything else in one fell swoop.
This is a very early draft but opening it now to prevent duplicating work in case someone else starts working in it (or would like to help 😁).Fixes #582
Fixes #485