diff options
author | Alex Crichton <alex@alexcrichton.com> | 2016-08-26 14:30:46 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2016-08-26 14:39:47 -0700 |
commit | f107c8d860137b41e509b179d605db30082cb0da (patch) | |
tree | 063e7b0c86785f70a63458e17183602e58d9c7f3 /tests/timeout.rs | |
parent | e71d509fee767d6b796ba18a5501f80f0fb4babc (diff) |
Rename to tokio-core, add in futures-io
Renames the futures-mio crate to tokio-core, pulls in the futures-io crate under
an `io` module, and gets everything compiling.
Diffstat (limited to 'tests/timeout.rs')
-rw-r--r-- | tests/timeout.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/timeout.rs b/tests/timeout.rs index 7676a50c..a00b64dc 100644 --- a/tests/timeout.rs +++ b/tests/timeout.rs @@ -1,6 +1,6 @@ extern crate env_logger; extern crate futures; -extern crate futures_mio; +extern crate tokio_core; use std::time::{Instant, Duration}; @@ -16,7 +16,7 @@ macro_rules! t { #[test] fn smoke() { drop(env_logger::init()); - let mut l = t!(futures_mio::Loop::new()); + let mut l = t!(tokio_core::Loop::new()); let dur = Duration::from_millis(10); let timeout = l.handle().timeout(dur).and_then(|t| t); let start = Instant::now(); |