Add TcpListener::accept_std as a method

This should allow configuration over what reactor accepted streams go on to by
giving back a libstd-bound object that can then be used later in conjunction
with `TcpStream::from_std`.
This commit is contained in:
Alex Crichton
2017-12-05 08:48:17 -08:00
parent e86fc4917a
commit 2e58422890
2 changed files with 21 additions and 7 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ appveyor = { repository = "alexcrichton/tokio" }
[dependencies]
bytes = "0.4"
log = "0.3"
mio = "0.6.10"
mio = "0.6.11"
slab = "0.4"
iovec = "0.1"
tokio-io = "0.1"