Switch back to futures from crates.io (#113)

Doing so requires copying the `current_thread` executor from GitHub into
the repo.
This commit is contained in:
Carl Lerche
2018-02-06 07:26:21 -08:00
committed by GitHub
parent 567887cc75
commit f0ea9d6f4c
31 changed files with 1313 additions and 70 deletions
+1 -2
View File
@@ -8,7 +8,6 @@ use std::net::TcpStream;
use std::thread;
use futures::Future;
use futures::future::blocking;
use futures::stream::Stream;
use tokio_io::io::copy;
use tokio_io::AsyncRead;
@@ -49,7 +48,7 @@ fn echo_server() {
.take(2)
.collect();
t!(blocking(future).wait());
t!(future.wait());
t.join().unwrap();
}