Skip to main content

mbus_async/
lib.rs

1#![warn(missing_docs)]
2
3//! Async facade for the Modbus client and server stacks.
4//!
5//! # ⚠️ Obsolete Notice
6//! The `mbus-async` crate is obsolete and consolidated into `mbus_server_async` and `mbus_client_async`.
7//! `mbus-async` will be removed in the near future. Please migrate to using `mbus_server_async` and `mbus_client_async` directly.
8//!
9//! This crate re-exports its public API from internal submodules.
10//! The full implementation lives in internal module files.
11
12pub mod client;
13#[cfg(any(feature = "server-tcp", feature = "server-serial"))]
14pub mod server;
15
16#[cfg(any(feature = "server-tcp", feature = "server-serial"))]
17pub use mbus_macros::async_modbus_app;
18
19pub use client::*;