-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
50 lines (43 loc) · 1.32 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
[package]
name = "svd2pac"
version = "0.3.0"
edition = "2021"
rust-version = "1.74"
categories = ["command-line-utilities", "development-tools::ffi"]
readme = "README.md"
repository = "https://github.com/Infineon/svd2pac"
keywords = ["generator","svd", "pac"]
license = "MIT"
description = "Tool to generate peripheral access crates from SVD files"
[dependencies]
anyhow = "1.0.70"
lazy-regex = "3.0"
thiserror = "1.0.40"
svd-parser = { version = "0.14", features = ["derive-from", "expand"] }
tera = "1.19.0"
# clap is limited to to support Aurix Rust compiler v1.0 (-> rustc 1.72)
clap = { version = "4.4", features = ["derive", "cargo"] }
log = { version = "0.4.17", features = ["std"] }
env_logger = "0.10.0"
convert_case = "0.6"
serde_json = {version = "1.0.96", features = ["preserve_order"]}
serde = { version = "1.0.160", features = ["derive","rc"] }
syn = "2.0.33"
linked-hash-map = {version="0.5",features =["serde_impl"]}
chrono = "0.4"
[dev-dependencies]
similar = "2.2"
fs_extra = "1.3"
tempfile = "3.6"
toml_edit = "0.19"
[build-dependencies]
rustc_version = "0.4.1"
regex = "1.10"
[profile.dev.package."*"]
codegen-units = 1 # better optimizations
opt-level = 3
[lib]
path = "src/lib.rs" # This just make happy cargo-readme
doctest = false
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]