| Crates.io | mabi-modbus |
| lib.rs | mabi-modbus |
| version | 1.0.2 |
| created_at | 2026-01-25 07:24:44.996604+00 |
| updated_at | 2026-01-25 09:50:01.851211+00 |
| description | Mabinogion - Modbus TCP/RTU simulator |
| homepage | https://github.com/seadonggyun4/mabinogion |
| repository | https://github.com/seadonggyun4/mabinogion |
| max_upload_size | |
| id | 2068324 |
| size | 921,913 |
Modbus TCP/RTU simulator for the Mabinogion industrial protocol simulator.
High-performance Modbus protocol simulator supporting both TCP and RTU modes with scalable device simulation.
use mabi_modbus::prelude::*;
// Create a Modbus TCP server
let config = ModbusTcpConfig::builder()
.bind_addr("0.0.0.0:502".parse()?)
.unit_ids(vec![1, 2, 3])
.build()?;
let server = ModbusTcpServer::new(config);
server.start().await?;
Licensed under the Apache License, Version 2.0.