Cargo Features

[dependencies]
dalybms = { version = "0.1.6", default-features = false, features = ["serialport", "tokio-serial-async", "serde", "bin-dependencies"] }
default = bin-dependencies

The bin-dependencies feature is set by default whenever dalybms is added without default-features = false somewhere in the dependency tree.

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.

tokio tokio-serial-async?
clap bin-dependencies