Cargo Features

[dependencies]
automotive_diag = { version = "0.1.9", default-features = false, features = ["std", "iter", "display", "with-kwp2000", "with-obd2", "with-uds", "serde"] }
default = display, iter, std, with-kwp2000, with-obd2, with-uds

These default features are set whenever automotive_diag is added without default-features = false somewhere in the dependency tree.

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

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

serde

Include support for serde serialization

Enables serde