-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
31 lines (28 loc) · 1.16 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
name = "automotive_diag"
version = "0.1.6"
description = "Core definitions for various Automotive ECU Diagnostics such as UDS ISO-14229, KWP2000, OBD-II, etc."
authors = ["Yuri Astrakhan <YuriAstrakhan@gmail.com>", "Ashcon Mohseninia <ashconm@outlook.com>"]
repository = "https://github.com/nyurik/automotive_diag"
edition = "2021"
license = "MIT OR Apache-2.0"
keywords = ["uds", "kwp2000", "obd", "automotive", "no_std"]
categories = ["embedded", "no-std", "encoding", "parsing"]
rust-version = "1.60.0"
[features]
default = ["std", "display", "with-kwp2000", "with-obd2", "with-uds"]
# Include support for std library. Without this feature, uses `no_std` attribute
std = []
# Add Display implementation for all enums, using doc comments as display strings
display = ["dep:displaydoc"]
# Include support for Keyword protocol 2000 - ISO142330
with-kwp2000 = []
# Include support for On-board diagnostics
with-obd2 = []
# Include support for Unified Diagnostic Services
with-uds = []
[dependencies]
enum2repr = "0.1"
displaydoc = { version = "0.2", optional = true }
[dev-dependencies]
cargo-husky = { version = "1", features = ["user-hooks"], default-features = false }