# 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 = "2021" rust-version = "1.74" name = "svd2rust" version = "0.35.0" authors = [ "The ToolsTeam ", "Jorge Aparicio ", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Generate Rust register maps (`struct`s) from SVD files" documentation = "https://docs.rs/svd2rust" readme = "README.md" keywords = [ "svd", "embedded", "register", "map", "generator", ] categories = [ "command-line-utilities", "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-embedded/svd2rust/" [package.metadata.deb] section = "rust" [lib] name = "svd2rust" path = "src/lib.rs" [[bin]] name = "svd2rust" path = "src/main.rs" doc = false required-features = ["bin"] [dependencies.anyhow] version = "1.0" [dependencies.clap] version = "4.0" optional = true [dependencies.env_logger] version = "0.11" optional = true [dependencies.inflections] version = "1.1" [dependencies.irx-config] version = "=3.3.0" features = [ "cmd", "toml-parser", "yaml", ] optional = true [dependencies.log] version = "~0.4" features = ["std"] [dependencies.proc-macro2] version = "1.0" [dependencies.quote] version = "1.0" [dependencies.regex] version = "1.10.0" [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0.85" optional = true [dependencies.serde_yaml] version = "0.9.11" optional = true [dependencies.svd-parser] version = "0.14.7" features = ["expand"] [dependencies.svd-rs] version = "0.14.9" features = ["serde"] [dependencies.syn] version = "2.0" features = [ "full", "extra-traits", ] [dependencies.thiserror] version = "1.0" [dependencies.url] version = "2.5" features = ["serde"] [features] bin = [ "dep:clap", "dep:env_logger", "serde", "dep:irx-config", ] default = [ "bin", "json", "yaml", ] json = ["dep:serde_json"] yaml = ["dep:serde_yaml"]