serve-net 0.3.0

The network service engine for Rust: listeners over net-io, ingress from direct clients, reverse proxies (PROXY protocol or trusted forwarded headers), Unix sockets, and FastCGI, a per-connection engine with a slot for any sans-IO protocol engine, admission, drain, and restarts without dropped connections.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Configuration: listeners, ingress, profiles, limits, workers, and the
//! validation that refuses insecure or inconsistent configurations.

mod ingress;
mod limits;
mod listener;
mod profile;
pub(crate) mod validate;
mod workers;

pub(crate) use ingress::ProxyKind;
pub use ingress::{ForwardedSource, Ingress, MissingHeader, ProxySource, UnknownClient};
pub(crate) use limits::range;
pub use limits::{KeepAlive, Limits};
pub use listener::{ListenerSource, ListenerSpec};
pub use profile::{Budget, EngineChoice, Profile, ProfileId, ProfileTable};
pub(crate) use profile::{Compiled, DEFAULT_LANE};
pub use workers::Workers;