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/udp-codec.rs | |
parent | 25f30c91c44aaa6adc2530cad8a8bdb9e0b99f90 (diff) |
Rename crate to tokio
Diffstat (limited to 'examples/udp-codec.rs')
-rw-r--r-- | examples/udp-codec.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/udp-codec.rs b/examples/udp-codec.rs index bd243090..4066060e 100644 --- a/examples/udp-codec.rs +++ b/examples/udp-codec.rs @@ -6,7 +6,7 @@ //! new message with a new destination. Overall, we then use this to construct a //! "ping pong" pair where two sockets are sending messages back and forth. -extern crate tokio_core; +extern crate tokio; extern crate env_logger; extern crate futures; @@ -14,8 +14,8 @@ use std::io; use std::net::SocketAddr; use futures::{Future, Stream, Sink}; -use tokio_core::net::{UdpSocket, UdpCodec}; -use tokio_core::reactor::Core; +use tokio::net::{UdpSocket, UdpCodec}; +use tokio::reactor::Core; pub struct LineCodec; |