//! [`AppState`] — host-level axum state container.
//!
//! Today wraps a single [`ProxyState`]; future phases grow this to a map
//! keyed by proxy name once multi-proxy-per-process lands.
use Arc;
use FromRef;
use ProxyState;
/// Host-level container owning the proxy instance(s) this process runs.
///
/// Cloneable because axum `with_state` requires `Clone`. Cloning is cheap —
/// only `Arc` bumps.
/// Axum extractor glue: handlers that only need the proxy can write
/// `State<Arc<ProxyState>>` and axum will pull it out of `AppState`.