Skip to content

Updating to Mio v0.8 #4135

@Thomasdezeeuw

Description

@Thomasdezeeuw

For Mio v0.8 I plan on removing the TcpSocket type. Followed (closely, hopefully) by a v1.

TcpSocket functionality has grown beyond what Mio should support as it's by no means limited to provided non-blocking I/O anymore. The socket2 crate provides all functionality and will be my recommended replacement, but I'm biased as I maintain both crate. However @carllerche already indicated he wanted to keep the dependencies low, so adding socket isn't a solution. So, I'm opening issue to discuss to upgrade to Mio v0.8 with TcpSocket.

P.S. I don't there will be any other breaking changes to Mio v0.8.

/cc @carllerche

Metadata

Metadata

Assignees

Labels

A-tokioArea: The main tokio crateM-ioModule: tokio/ioM-netModule: tokio/net

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions