2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-05-07 07:31:25 +00:00

Add import crate

This commit is contained in:
k-nasa 2019-10-16 19:20:07 +09:00
parent b251fc999a
commit 358d2bc038

View file

@ -9,6 +9,15 @@ cfg_if::cfg_if! {
} }
} }
cfg_if::cfg_if! {
if #[cfg(any(feature = "unstable", feature = "docs"))] {
mod delay;
use std::time::Duration;
use delay::DelayFuture;
}
}
extension_trait! { extension_trait! {
#[doc = r#" #[doc = r#"
A future represents an asynchronous computation. A future represents an asynchronous computation.