svd2pac 0.7.0

Tool to generate peripheral access crates from SVD files
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "svd2pac"
version = "0.7.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tool to generate peripheral access crates from SVD files"
readme = "README.md"
keywords = [
    "generator",
    "svd",
    "pac",
]
categories = [
    "command-line-utilities",
    "development-tools::ffi",
]
license = "MIT"
repository = "https://github.com/Infineon/svd2pac"

[package.metadata.docs.rs]
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-pc-windows-msvc",
]

[lib]
name = "svd2pac"
path = "src/lib.rs"
doctest = false

[[bin]]
name = "svd2pac"
path = "src/main.rs"

[[test]]
name = "test_basic_svd_aurix"
path = "tests/test_basic_svd_aurix.rs"

[[test]]
name = "test_basic_svd_cortex_m"
path = "tests/test_basic_svd_cortex_m.rs"

[[test]]
name = "test_basic_svd_generic"
path = "tests/test_basic_svd_generic.rs"

[[test]]
name = "test_basic_svd_tracing"
path = "tests/test_basic_svd_tracing.rs"

[dependencies.anyhow]
version = "1.0.70"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.4"
features = [
    "derive",
    "cargo",
]

[dependencies.convert_case]
version = "0.6"

[dependencies.env_logger]
version = "0.10.0"

[dependencies.lazy-regex]
version = "3.0"

[dependencies.linked-hash-map]
version = "0.5"
features = ["serde_impl"]

[dependencies.log]
version = "0.4.17"
features = ["std"]

[dependencies.serde]
version = "1.0.160"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.96"
features = ["preserve_order"]

[dependencies.svd-parser]
version = "0.14"
features = [
    "derive-from",
    "expand",
]

[dependencies.syn]
version = "2.0.33"

[dependencies.tera]
version = "1.19.0"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.fs_extra]
version = "1.3"

[dev-dependencies.similar]
version = "2.2"

[dev-dependencies.tempfile]
version = "3.6"

[dev-dependencies.toml_edit]
version = "0.19"

[build-dependencies.regex]
version = "1.10"

[build-dependencies.rustc_version]
version = "0.4.1"

[profile.dev.package."*"]
opt-level = 3
codegen-units = 1