Skip to main content

webx_host/
lib.rs

1//! HTTP server, middleware pipeline, and routing (package `rust-webx-host`,
2//! imported as `webx_host`).
3//!
4//! Implements the [`webx_core`] contracts on hyper + tokio: the `Host` builder,
5//! the middleware pipeline, the Trie router, JWT auth/authorization, and the
6//! production middleware (compression, timing, tracing, rate limiting).
7
8pub mod auth_jwt;
9pub mod authz;
10pub mod compression;
11pub mod context;
12pub mod cors;
13pub mod diagnostics;
14pub mod endpoint;
15pub mod health;
16pub mod memory_cache;
17pub mod metrics;
18pub mod pipeline;
19pub mod problem_response;
20pub mod rate_limit;
21pub mod request_id;
22pub mod request_tracing;
23pub mod router;
24pub mod security_headers;
25pub mod server;
26pub mod timing;
27
28#[cfg(feature = "testing")]
29pub mod testing;
30
31pub use auth_jwt::*;
32pub use authz::*;
33pub use compression::*;
34pub use context::*;
35pub use cors::*;
36pub use diagnostics::*;
37pub use endpoint::*;
38pub use health::*;
39pub use memory_cache::*;
40pub use metrics::*;
41pub use pipeline::*;
42pub use problem_response::*;
43pub use rate_limit::*;
44pub use request_id::*;
45pub use request_tracing::*;
46pub use router::*;
47pub use security_headers::*;
48pub use server::*;
49pub use timing::*;