2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2026-01-22 12:20:56 +00:00
async-std/src/future/mod.rs
Yoshua Wuyts 1ad339a19e
rebase on master
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-17 23:22:30 +02:00

21 lines
355 B
Rust

//! Asynchronous values.
#[doc(inline)]
pub use std::future::Future;
use cfg_if::cfg_if;
pub use pending::pending;
pub use poll_fn::poll_fn;
pub use ready::ready;
mod pending;
mod poll_fn;
mod ready;
cfg_if! {
if #[cfg(any(feature = "unstable", feature = "docs"))] {
mod timeout;
pub use timeout::{timeout, TimeoutError};
}
}