Skip to content

Commit 3baebfa

Browse files
committed
add future::{join,try_join} macros
Signed-off-by: Yoshua Wuyts <[email protected]>
1 parent 9d71584 commit 3baebfa

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ docs = []
2424
unstable = []
2525

2626
[dependencies]
27+
async-macros = { path = "../async-macros" }
2728
async-task = "1.0.0"
2829
cfg-if = "0.1.9"
2930
crossbeam-channel = "0.3.9"

src/future/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
#[doc(inline)]
44
pub use std::future::Future;
55

6+
#[doc(inline)]
7+
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
8+
pub use async_macros::{join, try_join};
9+
610
use cfg_if::cfg_if;
711

812
pub use pending::pending;

0 commit comments

Comments
 (0)