alloy_transport_http/layers/
mod.rs

1//! Additional layers that may be useful for HTTP transport users. Typically
2//! these inject headers into the HTTP requests.
3#![cfg(not(target_family = "wasm"))]
4
5#[cfg(feature = "jwt-auth")]
6mod auth;
7#[cfg(feature = "jwt-auth")]
8pub use auth::{AuthLayer, AuthService};
9
10#[cfg(feature = "traceparent")]
11mod trace;
12#[cfg(feature = "traceparent")]
13pub use trace::{TraceParentLayer, TraceParentService};