-
Notifications
You must be signed in to change notification settings - Fork 79
Description
I actually thought about proposing this while investigating #18 and now that async-io is at v1.0.x I am not sure if a breaking change directly after v1.0 would be appreciated.
That said I believe it would be a good idea to move all the net related impls meaning impl Async<TcpListener>, impl Async<TcpStream> and so on to async-net. That way we can remove the socket2 dependency from async-io and it would reduce the overall code base. I already looked into this a bit and one obvious downside would be that the current doc tests have to be rewritten since they mostly 12/20 use net related types. Feel free to close this issue if you don't think this is a good idea or if I have simply missed something and it's not possible to implement it that way 😄