mirror of
https://github.com/async-rs/async-std.git
synced 2025-05-06 15:11:23 +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! {
|
||||
#[doc = r#"
|
||||
A future represents an asynchronous computation.
|
||||
|
|
Loading…
Reference in a new issue