about summary refs log tree commit diff
path: root/library/core/src/task/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/task/mod.rs')
-rw-r--r--library/core/src/task/mod.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/library/core/src/task/mod.rs b/library/core/src/task/mod.rs
new file mode 100644
index 00000000000..3d6f4f5971a
--- /dev/null
+++ b/library/core/src/task/mod.rs
@@ -0,0 +1,15 @@
+#![stable(feature = "futures_api", since = "1.36.0")]
+
+//! Types and Traits for working with asynchronous tasks.
+
+mod poll;
+#[stable(feature = "futures_api", since = "1.36.0")]
+pub use self::poll::Poll;
+
+mod wake;
+#[stable(feature = "futures_api", since = "1.36.0")]
+pub use self::wake::{Context, RawWaker, RawWakerVTable, Waker};
+
+mod ready;
+#[unstable(feature = "ready_macro", issue = "70922")]
+pub use ready::ready;