Cargo Features
[dependencies]
automotive_diag = { version = "0.1.12", default-features = false, features = ["std", "iter", "display", "kwp2000", "with-kwp2000", "obd2", "with-obd2", "uds", "with-uds", "serde"] }
- default = display, iter, kwp2000, obd2, std, uds
-
These default features are set whenever
automotive_diag
is added without
somewhere in the dependency tree.default-features = false - std default
-
Include support for std library. Without this feature, uses
no_std
attribute - iter default
-
Add Enum::iter() implementation for all enums
- display default
-
Add Display implementation for all enums, using doc comments as display strings
Enables displaydoc
- kwp2000 default with-kwp2000?
-
Include support for Keyword protocol 2000 - ISO142330
Affects
automotive_diag::kwp2000
… - with-kwp2000 = kwp2000
-
deprecated, use
kwp2000
instead - obd2 default with-obd2?
-
Include support for On-board diagnostics
Affects
automotive_diag::obd2
… - with-obd2 = obd2
-
deprecated, use
obd2
instead - uds default with-uds?
-
Include support for Unified Diagnostic Services
Affects
automotive_diag::uds
… - with-uds = uds
-
deprecated, use
uds
instead - serde
-
Include support for serde serialization
Enables serde