mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-27 00:00:12 +02:00
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:
+2
-3
@@ -6,7 +6,6 @@
|
||||
#![deny(missing_docs)]
|
||||
|
||||
extern crate futures;
|
||||
extern crate futures_io;
|
||||
extern crate mio;
|
||||
extern crate slab;
|
||||
|
||||
@@ -16,9 +15,7 @@ extern crate scoped_tls;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
|
||||
#[path = "../../src/slot.rs"]
|
||||
mod slot;
|
||||
#[path = "../../src/lock.rs"]
|
||||
mod lock;
|
||||
|
||||
mod channel;
|
||||
@@ -30,6 +27,8 @@ mod timeout;
|
||||
mod timer_wheel;
|
||||
mod udp;
|
||||
|
||||
pub mod io;
|
||||
|
||||
pub use channel::{Sender, Receiver};
|
||||
pub use event_loop::{Loop, LoopPin, LoopHandle, AddSource, AddTimeout};
|
||||
pub use event_loop::{LoopData, AddLoopData, TimeoutToken, IoToken};
|
||||
|
||||
Reference in New Issue
Block a user