forked from rust-embedded/svd2rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
71 lines (64 loc) · 1.59 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
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
70
71
[package]
edition = "2021"
authors = [
"The ToolsTeam <[email protected]>",
"Jorge Aparicio <[email protected]>",
]
build = "build.rs"
categories = [
"command-line-utilities",
"embedded",
"hardware-support",
"no-std",
]
description = "Generate Rust register maps (`struct`s) from SVD files"
documentation = "https://docs.rs/svd2rust"
keywords = [
"svd",
"embedded",
"register",
"map",
"generator",
]
license = "MIT OR Apache-2.0"
name = "svd2rust"
repository = "https://github.com/rust-embedded/svd2rust/"
version = "0.28.0"
readme = "README.md"
rust-version = "1.60"
[package.metadata.deb]
section = "rust"
[[bin]]
doc = false
name = "svd2rust"
path = "src/main.rs"
required-features = ["bin"]
[features]
default = ["bin", "json", "yaml"]
bin = ["dep:clap", "dep:env_logger", "serde", "dep:irx-config"]
json = ["dep:serde_json"]
yaml = ["dep:serde_yaml"]
[dependencies]
clap = { version = "4.0", optional = true }
irx-config = { version = "3.1", features = ["cmd", "toml-parser"], optional = true }
env_logger = { version = "0.10", optional = true }
inflections = "1.1"
log = { version = "~0.4", features = ["std"] }
quote = "1.0"
proc-macro2 = "1.0"
anyhow = "1.0"
thiserror = "1.0"
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0.85", optional = true }
serde_yaml = { version = "0.9.11", optional = true }
regex = "1.7.0"
html-escape = "0.2"
[dependencies.svd-parser]
features = ["expand"]
version = "0.14.1"
[dependencies.svd-rs]
features = ["serde"]
version = "0.14.1"
[dependencies.syn]
version = "1.0"
features = ["full","extra-traits"]