diff options
Diffstat (limited to 'tokio/src/lib.rs')
-rw-r--r-- | tokio/src/lib.rs | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index 872f23cd..9efe7429 100644 --- a/tokio/src/lib.rs +++ b/tokio/src/lib.rs @@ -1,6 +1,5 @@ -#![doc(html_root_url = "https://docs.rs/tokio/0.1.19")] +#![doc(html_root_url = "https://docs.rs/tokio/0.1.20")] #![deny(missing_docs, warnings, missing_debug_implementations)] -#![cfg_attr(feature = "async-await-preview", feature(async_await, await_macro))] //! A runtime for writing reliable, asynchronous, and slim applications. //! @@ -136,23 +135,3 @@ if_runtime! { pub use executor::spawn; pub use runtime::run; } - -// ===== Experimental async/await support ===== - -#[cfg(feature = "async-await-preview")] -extern crate tokio_futures; - -#[cfg(feature = "async-await-preview")] -extern crate tokio_macros; - -#[cfg(feature = "async-await-preview")] -mod async_await; - -#[cfg(feature = "async-await-preview")] -pub use async_await::{run_async, spawn_async}; - -#[cfg(feature = "async-await-preview")] -pub use tokio_futures::await; - -#[cfg(feature = "async-await-preview")] -pub use tokio_macros::{main, test}; |