Cargo Features

[dependencies]
sunspec = { version = "0.7.1", default-features = false, features = ["serde", "tokio-modbus"] }
default = tokio-modbus

The tokio-modbus feature is set by default whenever sunspec is added without default-features = false somewhere in the dependency tree.

serde

Enables serde, serde of bitflags

tokio-modbus default

Enables tokio-modbus, time of tokio

Affects client::tokio_modbus

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 tokio-modbus