offline-protocol-router 0.25.0

DORS routing and relay management for the Offline Protocol SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# offline-protocol-router

Routing layer for the [Offline Protocol SDK](https://github.com/Offline-Protocol/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`](https://crates.io/crates/offline-protocol) crate instead — see the [DORS deep dive](https://github.com/Offline-Protocol/offline-protocol-sdk/blob/main/docs/dors.md) and [DORS configuration guide](https://github.com/Offline-Protocol/offline-protocol-sdk/blob/main/docs/dors-configuration.md).

## License

Copyright © 2025-2026 Offline Protocol, Inc.

Dual-licensed: [AGPL-3.0-only](https://github.com/Offline-Protocol/offline-protocol-sdk/blob/main/LICENSE) for open-source use, or a [commercial license](https://github.com/Offline-Protocol/offline-protocol-sdk/blob/main/LICENSE-COMMERCIAL.md) for proprietary use.