Cargo Features
[dependencies]
dalybms = { version = "0.1.6", default-features = false, features = ["serialport", "tokio-serial-async", "serde", "bin-dependencies"] }
- default = bin-dependencies
-
The
bin-dependenciesfeature is set by default wheneverdalybmsis added withoutsomewhere in the dependency tree.default-features = false - serialport bin-dependencies
-
Enables serialport
Affects
dalybms::serialport… - tokio-serial-async
-
Enables tokio-serial, io-util and time of tokio
Affects
dalybms::tokio_serial_async… - serde bin-dependencies
-
Enables serde
- bin-dependencies default = serde, serialport
-
Enables clap-num, clap-verbosity-flag, flexi_logger, humantime, humantime-serde, paho-mqtt, rand, serde_json, and serde_yaml, derive of clap and anyhow and chrono
anyhow:
Requirements for bin
Required by the binary
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.