Cargo Features

[dependencies]
truebner-smt100 = { version = "0.2.1", default-features = false, features = ["modbus-rtu", "mock"] }
default = mock, modbus-rtu

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

modbus-rtu default = tokio-modbus, tokio-serial

Affects truebner-smt100::modbus, modbus::rtu

mock default

Affects truebner-smt100::mock

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio-modbus modbus-rtu

Enables tokio-modbus ~0.3.2

tokio-serial modbus-rtu

Enables tokio-serial ^3.2