diff --git a/Cargo.toml b/Cargo.toml index a48cab00b..1c12bcd00 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,7 @@ docs = [] unstable = [] [dependencies] +async-macros = "1.0.0" async-task = "1.0.0" cfg-if = "0.1.9" crossbeam-channel = "0.3.9" diff --git a/src/stream/mod.rs b/src/stream/mod.rs index 36cf3a4ef..5e17aa56f 100644 --- a/src/stream/mod.rs +++ b/src/stream/mod.rs @@ -42,5 +42,9 @@ cfg_if! { pub use double_ended_stream::DoubleEndedStream; pub use from_stream::FromStream; pub use into_stream::IntoStream; + + #[cfg_attr(feature = "docs", doc(cfg(unstable)))] + #[doc(inline)] + pub use async_macros::{join_stream as join, JoinStream as Join}; } }