mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
async-await: track nightly changes (#661)
The `tokio-async-await` crate is no longer a facade. Instead, the `tokio` crate provides a feature flag to enable async/await support.
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
use Registration;
|
||||
|
||||
use std::marker::Unpin;
|
||||
|
||||
impl Unpin for Registration {}
|
||||
@@ -1,6 +1,5 @@
|
||||
#![doc(html_root_url = "https://docs.rs/tokio-reactor/0.1.5")]
|
||||
#![deny(missing_docs, warnings, missing_debug_implementations)]
|
||||
#![cfg_attr(feature = "async-await-preview", feature(pin))]
|
||||
|
||||
//! Event loop that drives Tokio I/O resources.
|
||||
//!
|
||||
@@ -757,8 +756,3 @@ impl Error for SetFallbackError {
|
||||
"attempted to set fallback reactor while already configured"
|
||||
}
|
||||
}
|
||||
|
||||
// ===== EXPERIMENTAL async / await support =====
|
||||
|
||||
#[cfg(feature = "async-await-preview")]
|
||||
mod async_await;
|
||||
|
||||
Reference in New Issue
Block a user