Cargo Features
[dependencies]
R413D08 = { version = "0.2.0", default-features = false, features = ["bin-dependencies", "tokio-rtu-sync", "tokio-rtu", "tokio-tcp-sync", "tokio-tcp", "serde"] }
- default = bin-dependencies, tokio-rtu, tokio-rtu-sync
-
These default features are set whenever
R413D08
is added without
somewhere in the dependency tree.default-features = false - bin-dependencies default = tokio-rtu-sync, tokio-tcp-sync
-
Enables clap-num, clap-verbosity-flag, dialoguer, flexi_logger, humantime, log, and tokio-serial, derive of clap and anyhow
Requirements for bin
Required by the relay binary
- tokio-rtu-sync default bin-dependencies
-
Enables tokio-serial, rtu-sync of tokio-modbus
Affects
R413D08::tokio_sync_client
,R413D08::tokio_serial
… - tokio-rtu default
-
Enables tokio-serial, rtu of tokio-modbus
Affects
R413D08::tokio_async_client
,R413D08::tokio_serial
… - tokio-tcp-sync bin-dependencies
-
Enables net of tokio, tcp-sync of tokio-modbus
Affects
R413D08::tokio_sync_client
… - tokio-tcp
-
Enables net of tokio, tcp of tokio-modbus
Affects
R413D08::tokio_async_client
… - serde
-
serde:
Provide derive(Serialize, Deserialize) macros.
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.