-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (62 loc) · 1.5 KB
/
Cargo.toml
File metadata and controls
69 lines (62 loc) · 1.5 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "dbc-codegen"
version = "0.3.0"
description = "CAN DBC code-gen for embedded Rust"
authors = [
"Pascal Hertleif <pascal@technocreatives.com>",
"Marcel Buesing <buesing.marcel@googlemail.com>",
"Andres Vahter <andres@vahter.me>",
]
categories = ["embedded", "code-generation", "automotive"]
edition = "2021"
exclude = [
"fuzz/*",
"testing/*",
"tests/*",
"tests-snapshots/*",
]
keywords = ["dbc", "can", "automotive", "codegen", "embedded"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/oxibus/dbc-codegen"
rust-version = "1.88"
[features]
std = []
[dependencies]
anyhow = "1.0.101"
can-dbc = "9.0.0"
embedded-can = "0.4.1"
heck = "0.5.0"
prettyplease = "0.2.37"
quote = "1.0"
syn = "2.0.114"
typed-builder = "0.23.0"
[dev-dependencies]
bitvec = "1.0.1"
embedded-can = "0.4.1"
insta = "1.47.2"
test_each_file = "0.3.6"
trybuild = "1.0.115"
walkdir = "2.5.0"
[lints.rust]
unsafe_code = "forbid"
unused_qualifications = "warn"
[lints.clippy]
cargo = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
missing_errors_doc = "allow"
too_many_lines = "allow"
[workspace]
members = [
".",
"dbc-codegen-cli",
"testing/can-embedded",
"testing/can-messages",
"testing/cantools-messages",
"testing/rust-integration",
]
default-members = ["."]
[package.metadata.docs.rs]
# Indicates features that docs.rs should enable when building documentation.
features = ["std"]