Rename crate to tokio

This commit is contained in:
Carl Lerche
2017-10-30 16:37:00 -07:00
committed by Alex Crichton
parent 25f30c91c4
commit 36aaaa1520
30 changed files with 92 additions and 92 deletions
+3 -3
View File
@@ -18,7 +18,7 @@
//! should be able to see them all make progress simultaneously.
extern crate futures;
extern crate tokio_core;
extern crate tokio;
extern crate tokio_io;
use std::env;
@@ -28,8 +28,8 @@ use futures::Future;
use futures::stream::Stream;
use tokio_io::AsyncRead;
use tokio_io::io::copy;
use tokio_core::net::TcpListener;
use tokio_core::reactor::Core;
use tokio::net::TcpListener;
use tokio::reactor::Core;
fn main() {
// Allow passing an address to listen on as the first argument of this