Skip to main content

offline_protocol_router/
lib.rs

1//! DORS routing and relay management for the Offline Protocol SDK.
2//!
3//! This crate implements the Dynamic Offline Relay Switch (DORS) system
4//! for intelligent transport selection and relay management.
5//!
6//! All code in this crate is 100% safe Rust with no unsafe blocks.
7
8#![deny(unsafe_code)]
9#![warn(missing_docs)]
10
11pub mod dors;
12pub mod error;
13pub mod relay;
14
15pub use dors::{
16    display_routing_score, DorsConfig, EscalationTriggerReason, TransportScore,
17    TransportScoreFactors, TransportSelector,
18};
19pub use error::{Error, Result};
20pub use relay::{RelayConfig, RelayPriority, RelayRole, CRITICAL_RELAY_BATTERY_LEVEL};