Skip to main content

rushls_common/
lib.rs

1//! Infrastructure shared by Rushls and its sibling services.
2//!
3//! Each module sits behind a feature of the same name, so a dependent compiles
4//! only what it uses. None of them choose application policy: they load
5//! configuration, talk to operator-configured services, terminate TLS, and
6//! accept connections, and leave reporting to the application's own events.
7
8#[cfg(feature = "accept")]
9pub mod accept;
10#[cfg(feature = "config")]
11pub mod config;
12#[cfg(feature = "hooks")]
13pub mod hooks;
14#[cfg(feature = "metrics")]
15pub mod metrics;
16#[cfg(feature = "outbound")]
17pub mod outbound;
18#[cfg(feature = "proxy-protocol")]
19pub mod proxy_protocol;
20#[cfg(feature = "tls")]
21pub mod tls;