mbus-serial 0.15.0

Serial RTU and ASCII transport implementations for modbus-rs, including sync, Tokio, and WASM adapters
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod management;

#[cfg(all(
    any(feature = "serial-client", feature = "serial-server"),
    not(target_arch = "wasm32")
))]
pub use management::std_serial::*;

#[cfg(all(feature = "serial-async", not(target_arch = "wasm32")))]
pub use management::async_serial::{TokioAsciiTransport, TokioRtuTransport};

#[cfg(all(feature = "serial-wasm", target_arch = "wasm32"))]
pub use management::wasm_serial::*;

#[cfg(all(feature = "serial-wasm-async", target_arch = "wasm32"))]
pub use management::wasm_async_serial::{
    WasmAsyncAsciiTransport, WasmAsyncRtuTransport, WasmAsyncSerialTransport,
};