nexus_net/lib.rs
1//! nexus-net — low-latency network protocol primitives.
2//!
3//! Sans-IO protocol implementations that operate on byte slices.
4//! No async runtime, no I/O layer — pure protocol state machines.
5//!
6//! # Modules
7//!
8//! - [`buf`] — Buffer primitives (`ReadBuf`, `WriteBuf`, `WriteBufWriter`)
9//! - [`ws`] — WebSocket framing (RFC 6455)
10//! - [`http`] — HTTP/1.1 response parsing, chunked decoding, request/response writers
11//! - [`rest`] — HTTP/1.1 REST client (`RequestWriter`, `HttpConnection`, typestate builder)
12//! - [`tls`] — TLS codec via rustls (feature: `tls`)
13
14pub mod buf;
15pub mod http;
16pub mod rest;
17#[cfg(feature = "tls")]
18pub mod tls;
19pub mod ws;