Skip to main content

entrouter_line/
lib.rs

1// Copyright 2026 John A Keeney - Entrouter
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! **entrouter-line** - zero-loss cross-region packet relay mesh.
16//!
17//! Builds encrypted UDP tunnels between PoP nodes, adds adaptive FEC to
18//! absorb packet loss, and routes traffic over the lowest-latency path
19//! using live Dijkstra on a continuously-probed latency matrix.
20//!
21//! # Architecture
22//!
23//! * [`edge`] - User-facing TCP and QUIC acceptors that locally ACK traffic
24//!   and relay it through the mesh.
25//! * [`relay`] - Encrypted tunnel transport with FEC, wire framing, and
26//!   multi-hop forwarding.
27//! * [`mesh`] - Latency probing, EWMA smoothing, and shortest-path routing.
28//! * [`admin`] - Lightweight HTTP server for health checks and status.
29//! * [`config`] - TOML configuration loading and validation.
30
31pub mod admin;
32pub mod config;
33pub mod edge;
34pub mod mesh;
35pub mod relay;