1 | #![cfg_attr (not(feature = "macros" ), allow(unreachable_pub))] |
2 | |
3 | //! Asynchronous values. |
4 | |
5 | #[cfg (any(feature = "macros" , feature = "process" ))] |
6 | pub(crate) mod maybe_done; |
7 | |
8 | cfg_process! { |
9 | mod try_join; |
10 | pub(crate) use try_join::try_join3; |
11 | } |
12 | |
13 | cfg_sync! { |
14 | mod block_on; |
15 | pub(crate) use block_on::block_on; |
16 | } |
17 | |
18 | cfg_trace! { |
19 | mod trace; |
20 | #[allow (unused_imports)] |
21 | pub(crate) use trace::InstrumentedFuture as Future; |
22 | } |
23 | |
24 | cfg_not_trace! { |
25 | cfg_rt! { |
26 | pub(crate) use std::future::Future; |
27 | } |
28 | } |
29 | |