diff --git a/CHANGELOG.md b/CHANGELOG.md index 48087d06..8dc1d6f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/). ## [Unreleased] +## [v0.37.0] - 2025-08-14 + - Fix new `mismatched-lifetime-syntaxes` lint warnings - Adapt RISC-V specific codegen for `riscv-peripheral` v0.3.0 rework - Include `riscv-peripheral` peripherals in `Peripherals` struct @@ -963,7 +965,8 @@ peripheral.register.write(|w| w.field().set()); - Initial version of the `svd2rust` tool -[Unreleased]: https://github.com/rust-embedded/svd2rust/compare/v0.36.1...HEAD +[Unreleased]: https://github.com/rust-embedded/svd2rust/compare/v0.37.0...HEAD +[v0.37.0]: https://github.com/rust-embedded/svd2rust/compare/v0.36.1...v0.37.0 [v0.36.1]: https://github.com/rust-embedded/svd2rust/compare/v0.36.0...v0.36.1 [v0.36.0]: https://github.com/rust-embedded/svd2rust/compare/v0.35.0...v0.36.0 [v0.35.0]: https://github.com/rust-embedded/svd2rust/compare/v0.34.0...v0.35.0 diff --git a/Cargo.lock b/Cargo.lock index f79cdb56..5aed83f7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -831,7 +831,7 @@ dependencies = [ "serde", "serde_json", "serde_yaml", - "thiserror", + "thiserror 1.0.69", "toml", ] @@ -1519,7 +1519,7 @@ dependencies = [ "anyhow", "roxmltree", "svd-rs", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1531,12 +1531,12 @@ dependencies = [ "once_cell", "regex", "serde", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "svd2rust" -version = "0.36.1" +version = "0.37.0" dependencies = [ "anyhow", "clap", @@ -1553,7 +1553,7 @@ dependencies = [ "svd-parser", "svd-rs", "syn", - "thiserror", + "thiserror 2.0.14", "url", ] @@ -1572,7 +1572,7 @@ dependencies = [ "shell-words", "svd2rust", "syn", - "thiserror", + "thiserror 1.0.69", "tracing", "tracing-subscriber", "which", @@ -1650,7 +1650,16 @@ version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b0949c3a6c842cbde3f1686d6eea5a010516deb7085f79db747562d4102f41e" +dependencies = [ + "thiserror-impl 2.0.14", ] [[package]] @@ -1664,6 +1673,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc5b44b4ab9c2fdd0e0512e6bece8388e214c0749f5862b114cc5b7a25daf227" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "thread_local" version = "1.1.9" diff --git a/Cargo.toml b/Cargo.toml index 88daf5ee..528faf9e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ keywords = ["svd", "embedded", "register", "map", "generator"] license = "MIT OR Apache-2.0" name = "svd2rust" repository = "https://github.com/rust-embedded/svd2rust/" -version = "0.36.1" +version = "0.37.0" readme = "README.md" rust-version = "1.74" @@ -49,7 +49,7 @@ log = { version = "~0.4", features = ["std"] } quote = "1.0" proc-macro2 = "1.0" anyhow = "1.0" -thiserror = "1.0" +thiserror = "2.0" serde = { version = "1.0", optional = true } serde_json = { version = "1.0.85", optional = true } serde_yaml = { version = "0.9.11", optional = true }