Skip to main content

hyper_util/rt/
mod.rs

1//! Runtime utilities
2
3#[cfg(feature = "tracing")]
4pub mod tracing;
5#[cfg(feature = "tracing")]
6pub use self::tracing::{CurrentSpanExecutor, MkSpanExecutor, WithSpanExecutor};
7
8#[cfg(feature = "client-legacy")]
9mod io;
10#[cfg(feature = "client-legacy")]
11pub(crate) use self::io::{read, write_all};
12
13#[cfg(feature = "tokio")]
14pub mod tokio;
15
16#[cfg(feature = "tokio")]
17pub use self::tokio::{TokioExecutor, TokioIo, TokioTimer};