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.
This commit is contained in:
Alex Crichton
2016-08-26 14:39:47 -07:00
parent e71d509fee
commit f107c8d860
29 changed files with 1495 additions and 77 deletions
+2 -2
View File
@@ -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();