offline-protocol-router
Routing layer for the Offline Protocol SDK: transport selection, relay management, and mesh routing.
Provides:
- DORS (Dynamic Offline Relay Switch) — multi-factor transport scoring (signal strength, congestion, bandwidth, battery, reliability, capacity) with hysteresis, cooldown, and a stability window to prevent transport flapping
RelayConfig/RelayPriority/RelayRole— the vocabulary for whether this device forwards for others; the standing itself is decided by the engine's forwarding governor from traffic actually carried
This crate is an internal layer of the SDK. Most Rust consumers want the main offline-protocol crate instead — see the DORS deep dive and DORS configuration guide.
License
Copyright © 2025-2026 Offline Protocol, Inc.
Dual-licensed: AGPL-3.0-only for open-source use, or a commercial license for proprietary use.