Migrate to using tokio-io

Deprecate the existing `io` module in this crate entirely.

More details coming soon!

Closes #61
This commit is contained in:
Alex Crichton
2017-03-15 09:46:54 -07:00
parent 8fecf98aef
commit 89fcc96dd4
25 changed files with 340 additions and 132 deletions
+10
View File
@@ -90,9 +90,13 @@
#![doc(html_root_url = "https://docs.rs/tokio-core/0.1")]
#![deny(missing_docs)]
extern crate bytes;
#[macro_use]
extern crate futures;
extern crate iovec;
extern crate mio;
extern crate slab;
extern crate tokio_io;
#[macro_use]
extern crate scoped_tls;
@@ -108,3 +112,9 @@ mod heap;
pub mod channel;
pub mod net;
pub mod reactor;
use std::io as sio;
fn would_block() -> sio::Error {
sio::Error::new(sio::ErrorKind::WouldBlock, "would block")
}