Cargo Features

[dependencies]
modbus-mqtt = { version = "0.3.0", default-features = false, features = ["tcp", "rtu", "winet-s", "ws", "tls", "rustls"] }
default = rtu, tcp, winet-s

These default features are set whenever modbus-mqtt is added without default-features = false somewhere in the dependency tree.

tcp default

Enables tcp of tokio-modbus ^0.7.1

rtu default

Enables serialport, tokio-serial, rtu of tokio-modbus ^0.7.1

winet-s default

Enables tokio_modbus-winets

ws

Enables websocket of rumqttc

tls = rustls
rustls tls?

Enables use-rustls of rumqttc

ModbusMQTT has 7 features without comments.