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:
parent
b251fc999a
commit
358d2bc038
1 changed files with 9 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue