devela/work/future/coroutine/
mod.rs

1// devela::work::future::coroutine
2//
3//! Coroutine implementations.
4//
5
6mod coro;
7
8#[cfg(feature = "nightly_coro")]
9#[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "nightly_coro")))]
10mod reexports;
11
12crate::items! { // structural access: _mods, _all, _always
13    #[allow(unused)]
14    pub use _mods::*;
15    #[allow(unused)] #[doc(hidden, no_inline)]
16    pub use _always::*;
17
18    mod _mods {
19        pub use super::coro::*;
20
21        #[cfg(feature = "nightly_coro")]
22        #[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "nightly_coro")))]
23        pub use super::reexports::*;
24    }
25    pub(super) mod _all { #[allow(unused)]
26        #[doc(inline)]
27        pub use super::_mods::*;
28    }
29    pub(super) mod _always { #![allow(unused)]
30        #[cfg(feature = "nightly_coro")]
31        pub use super::reexports::*;
32    }
33}