rusty-modbus-tcp 0.1.0

Modbus/TCP transport — split sink/stream traits and TCP implementation
Documentation
//! Async TCP transport for Modbus/TCP on port 502.
//!
//! Manages connection lifecycle, TCP socket options, and provides the
//! `TransportSink`/`TransportStream` trait implementations used by the
//! client and server crates.

#![forbid(unsafe_code)]
#![warn(missing_docs, clippy::all, clippy::pedantic)]

pub mod config;
pub mod connect;
pub mod error;
pub mod listener;
pub mod transport;

pub use config::{AccessControl, AccessMode, TcpConfig, TcpServerConfig};
pub use connect::{TcpRecvStream, TcpSink, TcpTransport};
pub use error::{TcpError, TransportError};
pub use listener::{ConnectionGuard, TcpServerListener};
pub use transport::{TransportConnect, TransportSink, TransportStream};