-
Notifications
You must be signed in to change notification settings - Fork 98
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 Tokio 1.0 #170
Upgrade to Tokio 1.0 #170
Conversation
I've got one compilation issue I can't seem to work out: Lines 302 to 317 in 13e383d
@iffyio got any ideas? I poked at this for a few hours, and I'm drawing blanks. For some reason the mspc::Receiver doesn't implement a https://docs.rs/tonic/0.4.0/tonic/trait.IntoStreamingRequest.html? But not matter what I do, I can't seem to get it to become an iterator... which I think should work? I'm stuck on this one 😞 |
Realised I was running just |
Worked it out 🤸 needed |
a83355b
to
091e669
Compare
This should be good for review! That was fun. |
091e669
to
31182ea
Compare
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.
Looks great! 🎉
src/test_utils.rs
Outdated
pub addr: SocketAddr, | ||
/// The sender side, after splitting the opened socket. | ||
pub send: SendHalf, | ||
/// The socket |
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.
/// The socket | |
/// The opened socket |
// Remove initial value from channel. | ||
shutdown_rx.recv().await; |
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.
Yay! I won't miss this pattern 😂
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.
Me too! 😁
31182ea
to
f0201c5
Compare
Missed this comment earlier :P will have a look |
No wait, it was already solved, I confused myself there for a sec 😅 |
Just tracking potential flakiness:
Will keep an eye on it, and see how often it pops up. |
Upgrade Tokio and dependent libraries to 1.0 Also took the opportunity to bring some naming to consistency when updating api calls for the change to 1.0
f0201c5
to
cfb98ce
Compare
Upgrade Tokio and dependent libraries to 1.0
Also took the opportunity to bring some naming to consistency when
updating api calls for the change to 1.0