mirror of
https://github.com/async-rs/async-std.git
synced 2025-02-06 04:35:32 +00:00
use async-macros
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
parent
1ad339a19e
commit
d5725e78be
2 changed files with 4 additions and 4 deletions
|
@ -25,6 +25,7 @@ docs = []
|
|||
unstable = []
|
||||
|
||||
[dependencies]
|
||||
async-macros = "1.0.0"
|
||||
async-task = "1.0.0"
|
||||
cfg-if = "0.1.9"
|
||||
crossbeam-channel = "0.3.9"
|
||||
|
|
|
@ -24,11 +24,10 @@
|
|||
#[doc(inline)]
|
||||
pub use std::task::{Context, Poll, Waker};
|
||||
|
||||
pub use block_on::block_on;
|
||||
// Re-export the `ready!` definition from an external crate to expose it from
|
||||
// this submodule.
|
||||
pub use futures_core::ready;
|
||||
#[doc(inline)]
|
||||
pub use async_macros::ready;
|
||||
|
||||
pub use block_on::block_on;
|
||||
pub use local::{AccessError, LocalKey};
|
||||
pub use pool::{current, spawn, Builder};
|
||||
pub use sleep::sleep;
|
||||
|
|
Loading…
Reference in a new issue