We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ad339a commit d5725e7Copy full SHA for d5725e7
Cargo.toml
@@ -25,6 +25,7 @@ docs = []
25
unstable = []
26
27
[dependencies]
28
+async-macros = "1.0.0"
29
async-task = "1.0.0"
30
cfg-if = "0.1.9"
31
crossbeam-channel = "0.3.9"
src/task/mod.rs
@@ -24,11 +24,10 @@
24
#[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;
32
pub use local::{AccessError, LocalKey};
33
pub use pool::{current, spawn, Builder};
34
pub use sleep::sleep;
0 commit comments