Skip to content
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 v0.3 #301

Closed
9 of 10 tasks
zonyitoo opened this issue Oct 16, 2020 · 0 comments · Fixed by #315
Closed
9 of 10 tasks

Upgrade to tokio v0.3 #301

zonyitoo opened this issue Oct 16, 2020 · 0 comments · Fixed by #315
Assignees

Comments

@zonyitoo
Copy link
Collaborator

zonyitoo commented Oct 16, 2020

Prerequisites:

Incompatible APIs:

  • AsyncRead is now accepts a ReadBuf
  • TcpStream::connect_std has been removed, should be changed to tokio::net::TcpSocket
  • UdpSocket::split have been removed. UdpSocket could be shared by Arc because APIs are changed to &self
  • tokio::process::Child's id() returns Option<u32>, and removed impl Future on it. kill() is replaced by start_kill()
  • mio-uds have been deprecated, features are merged into mio
  • PollEvented is not a public API, UnixDatagram that could send FDs is broken UnixStream / UnixDatagram requires API for sending packet with FDs tokio-rs/tokio#2975
    • Replaced by AsyncFd
@zonyitoo zonyitoo self-assigned this Oct 16, 2020
zonyitoo added a commit that referenced this issue Nov 6, 2020
- AsyncRead's ReadBuf API changes
- TcpStream::connect_std replaced by TcpSocket
- UdpSocket::split replaced by Arc<UdpSocket>
- Child's id() returns Option<u32> and doesn't impl Future anymore
- mio-uds have been deprecated, features are merged into mio

ref #301
This was referenced Nov 6, 2020
zonyitoo added a commit that referenced this issue Nov 7, 2020
- AsyncRead's ReadBuf API changes
- TcpStream::connect_std replaced by TcpSocket
- UdpSocket::split replaced by Arc<UdpSocket>
- Child's id() returns Option<u32> and doesn't impl Future anymore
- mio-uds have been deprecated, features are merged into mio

ref #301
zonyitoo added a commit that referenced this issue Nov 8, 2020
- AsyncRead's ReadBuf API changes
- TcpStream::connect_std replaced by TcpSocket
- UdpSocket::split replaced by Arc<UdpSocket>
- Child's id() returns Option<u32> and doesn't impl Future anymore
- mio-uds have been deprecated, features are merged into mio

ref #301
zonyitoo added a commit that referenced this issue Nov 15, 2020
- AsyncRead's ReadBuf API changes
- TcpStream::connect_std replaced by TcpSocket
- UdpSocket::split replaced by Arc<UdpSocket>
- Child's id() returns Option<u32> and doesn't impl Future anymore
- mio-uds have been deprecated, features are merged into mio

ref #301
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant