mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-20 00:00:08 +02:00
Rename crate to tokio
This commit is contained in:
committed by
Alex Crichton
parent
25f30c91c4
commit
36aaaa1520
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user