mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
Fix tokio-async-await tests compile errors (#630)
This commit is contained in:
parent
d735e5d527
commit
d275341fb2
@ -28,7 +28,7 @@ name = "tokio"
|
||||
|
||||
[dependencies]
|
||||
futures = "0.1.23"
|
||||
tokio = { version = "0.1.8", path = ".." }
|
||||
tokio_main = { package = "tokio", version = "0.1.8", path = ".." }
|
||||
tokio-io = { version = "0.1.7", path = "../tokio-io" }
|
||||
tokio-channel = { version = "0.1.0", path = "../tokio-channel", features = ["async-await-preview"] }
|
||||
tokio-reactor = { version = "0.1.5", path = "../tokio-reactor", features = ["async-await-preview"] }
|
||||
|
@ -11,7 +11,7 @@ extern crate futures_core;
|
||||
extern crate futures_util;
|
||||
|
||||
// Re-export all of Tokio
|
||||
pub use tokio::{
|
||||
pub use tokio_main::{
|
||||
// Modules
|
||||
clock,
|
||||
codec,
|
||||
@ -53,7 +53,7 @@ pub mod prelude {
|
||||
//!
|
||||
//! The prelude may grow over time as additional items see ubiquitous use.
|
||||
|
||||
pub use tokio::prelude::*;
|
||||
pub use tokio_main::prelude::*;
|
||||
|
||||
#[doc(inline)]
|
||||
pub use crate::async_await::{
|
||||
|
Loading…
x
Reference in New Issue
Block a user