diff options
Diffstat (limited to 'library/std/src/future.rs')
| -rw-r--r-- | library/std/src/future.rs | 17 | 
1 files changed, 17 insertions, 0 deletions
| diff --git a/library/std/src/future.rs b/library/std/src/future.rs new file mode 100644 index 00000000000..89dd9fb9b2c --- /dev/null +++ b/library/std/src/future.rs @@ -0,0 +1,17 @@ +//! Asynchronous values. + +#[doc(inline)] +#[stable(feature = "futures_api", since = "1.36.0")] +pub use core::future::Future; + +#[doc(inline)] +#[unstable(feature = "gen_future", issue = "50547")] +pub use core::future::{from_generator, get_context, ResumeTy}; + +#[doc(inline)] +#[unstable(feature = "future_readiness_fns", issue = "70921")] +pub use core::future::{pending, ready, Pending, Ready}; + +#[doc(inline)] +#[unstable(feature = "into_future", issue = "67644")] +pub use core::future::IntoFuture; | 
