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 mod poll_fn; 9 pub use poll_fn::poll_fn; 10 11 cfg_process! { 12 mod try_join; 13 pub(crate) use try_join::try_join3; 14 } 15 16 cfg_sync! { 17 mod block_on; 18 pub(crate) use block_on::block_on; 19 } 20 21 cfg_trace! { 22 mod trace; 23 pub(crate) use trace::InstrumentedFuture as Future; 24 } 25 26 cfg_not_trace! { 27 cfg_rt! { 28 pub(crate) use std::future::Future; 29 } 30 } 31