Cargo Features
[dependencies]
automotive_diag = { version = "0.1.6", default-features = false, features = ["std", "display", "with-kwp2000", "with-obd2", "with-uds"] }
- default = display, std, with-kwp2000, with-obd2, with-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 - display default
-
Add Display implementation for all enums, using doc comments as display strings
Enables displaydoc
- with-kwp2000 default
-
Include support for Keyword protocol 2000 - ISO142330
Affects
automotive_diag::kwp2000
… - with-obd2 default
-
Include support for On-board diagnostics
Affects
automotive_diag::obd2
… - with-uds default
-
Include support for Unified Diagnostic Services
Affects
automotive_diag::uds
…