-
Notifications
You must be signed in to change notification settings - Fork 96
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 #79
Conversation
Currently pulling in tokio-native-tls via a git dependency, since tokio-rs/tls#46 hasn't been released to crates.io yet.
tokio-native-tls v0.3.0 is out now, if you can update @teozkr! |
Done @benesch |
buf: &mut [u8], | ||
) -> Poll<Result<usize, io::Error>> { | ||
buf: &mut ReadBuf, | ||
) -> Poll<Result<(), io::Error>> { |
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.
) -> Poll<Result<(), io::Error>> { | |
) -> Poll<io::Result<()>> { |
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.
Agreed, but I tried to keep these changes as minimal as possible for now. That kind of cleanup seems like a separate PR for me.
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.
Awesome work, thank you!
Currently pulling in tokio-native-tls via a git dependency, since tokio-rs/tls#46 hasn't been released to crates.io yet.