add future::{join,try_join} macros

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
Yoshua Wuyts 2019-09-12 17:57:52 +02:00
parent e6880e12e8
commit 4cbc31938d
No known key found for this signature in database
GPG key ID: 24EA8164F96777ED
2 changed files with 5 additions and 0 deletions

View file

@ -25,6 +25,7 @@ docs = []
unstable = []
[dependencies]
async-macros = { path = "../async-macros" }
async-task = "1.0.0"
cfg-if = "0.1.9"
crossbeam-channel = "0.3.9"

View file

@ -3,6 +3,10 @@
#[doc(inline)]
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;
pub use pending::pending;