Skip to main content

rama_haproxy/
lib.rs

1//! rama HaProxy support
2//!
3//! Implements the HAProxy PROXY protocol versions 1 (text) and 2 (binary).
4//!
5//! The canonical specification document is vendored under
6//! `rama-haproxy/specifications/proxy-protocol.txt`
7//! (upstream: <https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt>).
8//!
9//! Crate used by the end-user `rama` crate and `rama` crate authors alike.
10//!
11//! Learn more about `rama`:
12//!
13//! - Github: <https://github.com/plabayo/rama>
14//! - Book: <https://ramaproxy.org/book/>
15
16#![doc(
17    html_favicon_url = "https://raw.githubusercontent.com/plabayo/rama/main/docs/img/rama_logo.svg"
18)]
19#![doc(
20    html_logo_url = "https://raw.githubusercontent.com/plabayo/rama/main/docs/img/rama_logo.svg"
21)]
22#![cfg_attr(docsrs, feature(doc_cfg))]
23#![cfg_attr(test, allow(clippy::float_cmp))]
24
25pub mod client;
26pub mod protocol;
27pub mod server;