Cargo Features
modbus-mapping has no features set by default.
[dependencies]
modbus-mapping = { version = "0.3.0", features = ["simulator", "serial", "examples"] }
- simulator
-
Enables tokio-serial and tokio-stream, rtu-server and tcp-server of tokio-modbus ^0.13 and futures
Optional
Affects
modbus-mapping::simulator
… - serial
-
Enables tokio-serial
- examples
-
Enables rand_chacha and rand_distr