rusty_modbus_gateway/lib.rs
1//! Modbus TCP ↔ RTU gateway.
2//!
3//! Bridges TCP clients to serial (RTU) devices by routing requests
4//! based on Unit ID and translating between MBAP and RTU framing.
5
6#![forbid(unsafe_code)]
7#![warn(missing_docs, clippy::all, clippy::pedantic)]
8#![allow(clippy::missing_errors_doc)]
9
10pub mod config;
11pub mod error;
12pub mod gateway;
13pub mod routing;
14pub mod translator;
15
16pub use config::{GatewayConfig, RouteEntry};
17pub use error::GatewayError;
18pub use gateway::ModbusGateway;
19pub use routing::RouteTable;