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 wheneversunspec
is added without
somewhere in the dependency tree.default-features = false - serde
- 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.