diff options
author | Carl Lerche <me@carllerche.com> | 2017-10-24 16:30:16 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2017-10-30 16:37:00 -0700 |
commit | 36aaaa152003e10599fb0c8804c1abbfa11bbbef (patch) | |
tree | 8a4ead369b9082a42e766829df7f9b57b913e351 /examples/tinyhttp.rs | |
parent | 25f30c91c44aaa6adc2530cad8a8bdb9e0b99f90 (diff) |
Rename crate to tokio
Diffstat (limited to 'examples/tinyhttp.rs')
-rw-r--r-- | examples/tinyhttp.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/tinyhttp.rs b/examples/tinyhttp.rs index 2dd109de..043e56d2 100644 --- a/examples/tinyhttp.rs +++ b/examples/tinyhttp.rs @@ -20,7 +20,7 @@ extern crate num_cpus; extern crate serde_derive; extern crate serde_json; extern crate time; -extern crate tokio_core; +extern crate tokio; extern crate tokio_io; use std::env; @@ -35,8 +35,8 @@ use futures::sync::mpsc; use futures::{Stream, Future, Sink}; use http::{Request, Response, StatusCode}; use http::header::HeaderValue; -use tokio_core::net::TcpStream; -use tokio_core::reactor::Core; +use tokio::net::TcpStream; +use tokio::reactor::Core; use tokio_io::codec::{Encoder, Decoder}; use tokio_io::{AsyncRead}; |