aboutsummaryrefslogtreecommitdiff
path: root/src/future/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/future/mod.rs')
-rw-r--r--src/future/mod.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/future/mod.rs b/src/future/mod.rs
index f7d93c9..96483ac 100644
--- a/src/future/mod.rs
+++ b/src/future/mod.rs
@@ -22,3 +22,14 @@ cfg_sync! {
mod block_on;
pub(crate) use block_on::block_on;
}
+
+cfg_trace! {
+ mod trace;
+ pub(crate) use trace::InstrumentedFuture as Future;
+}
+
+cfg_not_trace! {
+ cfg_rt! {
+ pub(crate) use std::future::Future;
+ }
+}