Skip to main content

obs_tower/
lib.rs

1#![forbid(unsafe_code)]
2#![warn(rust_2024_compatibility, missing_docs, missing_debug_implementations)]
3#![allow(
4    clippy::collapsible_if,
5    clippy::collapsible_match,
6    clippy::redundant_closure,
7    clippy::indexing_slicing
8)]
9#![cfg_attr(test, allow(clippy::unwrap_used, clippy::expect_used))]
10
11//! `tower::Layer` companion for HTTP services. Spec 40.
12
13mod client;
14mod propagator;
15mod server;
16
17pub use client::{ObsHttpClientLayer, ObsHttpClientService};
18pub use propagator::{TraceContext, W3cPropagator, status_class};
19pub use server::{ObsHttpLayer, ObsHttpService};