forked from mirror/async-std
add future::{join,try_join} macros
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
parent
e6880e12e8
commit
4cbc31938d
2 changed files with 5 additions and 0 deletions
|
@ -25,6 +25,7 @@ docs = []
|
||||||
unstable = []
|
unstable = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
async-macros = { path = "../async-macros" }
|
||||||
async-task = "1.0.0"
|
async-task = "1.0.0"
|
||||||
cfg-if = "0.1.9"
|
cfg-if = "0.1.9"
|
||||||
crossbeam-channel = "0.3.9"
|
crossbeam-channel = "0.3.9"
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use std::future::Future;
|
pub use std::future::Future;
|
||||||
|
|
||||||
|
#[doc(inline)]
|
||||||
|
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||||
|
pub use async_macros::{join, try_join};
|
||||||
|
|
||||||
use cfg_if::cfg_if;
|
use cfg_if::cfg_if;
|
||||||
|
|
||||||
pub use pending::pending;
|
pub use pending::pending;
|
||||||
|
|
Loading…
Reference in a new issue