mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-06 00:00:10 +02:00
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:
+1
-1
@@ -33,10 +33,10 @@ extern crate tokio;
|
||||
extern crate tokio_io;
|
||||
extern crate bytes;
|
||||
|
||||
use tokio::executor::current_thread;
|
||||
use tokio::net::{TcpListener, TcpStream};
|
||||
use tokio_io::{AsyncRead};
|
||||
use futures::prelude::*;
|
||||
use futures::current_thread;
|
||||
use futures::sync::mpsc;
|
||||
use futures::future::{self, Either};
|
||||
use bytes::{BytesMut, Bytes, BufMut};
|
||||
|
||||
Reference in New Issue
Block a user