diff options
Diffstat (limited to 'examples/tinyhttp.rs')
-rw-r--r-- | examples/tinyhttp.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/tinyhttp.rs b/examples/tinyhttp.rs index d56ff96f..1e4f22bd 100644 --- a/examples/tinyhttp.rs +++ b/examples/tinyhttp.rs @@ -21,7 +21,6 @@ extern crate serde_derive; extern crate serde_json; extern crate time; extern crate tokio; -extern crate tokio_codec; extern crate tokio_io; use std::{env, fmt, io}; @@ -29,8 +28,7 @@ use std::net::SocketAddr; use tokio::net::{TcpStream, TcpListener}; use tokio::prelude::*; - -use tokio_codec::{Encoder, Decoder}; +use tokio::codec::{Encoder, Decoder}; use bytes::BytesMut; use http::header::HeaderValue; |