Skip to content

Commit 77bbbba

Browse files
authored
Merge pull request #155 from rust-embedded/newrelease
release 0.3.1
2 parents c671112 + 3f8ca15 commit 77bbbba

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG-rust.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ This changelog tracks the Rust `svdtools` project. See
55

66
## [Unreleased]
77

8+
## [v0.3.1] 2023-09-19
9+
10+
* add `svdtools html` and `svdtools htmlcompare` tools from `stm32-rs`
811
* update `svd-encoder`, `--format-config` and optional `out_path` for `patch`
912
* add field name in enumeratedValues derive path
1013

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "svdtools"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
repository = "https://github.com/stm32-rs/svdtools"
55
description = "Tool for modifying bugs in CMSIS SVD"
66
authors = [
@@ -26,7 +26,7 @@ edition = "2021"
2626
[dependencies]
2727
clap = { version = "4.1", features = ["derive", "cargo", "color"] }
2828
serde = { version = "1.0", features = ["derive"] }
29-
quick-xml = { version = "0.28", features = ["serialize"] }
29+
quick-xml = { version = "0.30", features = ["serialize"] }
3030
svd-rs = { version = "0.14.2", features = ["serde", "derive-from"] }
3131
svd-parser = { version = "0.14.2", features = ["expand"] }
3232
svd-encoder = "0.14.3"

src/html/htmlcompare_cli.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ fn parse(in_path: &Path) -> Result<Part> {
1717
let mut input = String::new();
1818
File::open(in_path)?.read_to_string(&mut input)?;
1919

20-
let device = svd_parser::parse_with_config(&input, &Config::default().expand(true))?;
20+
let device =
21+
svd_parser::parse_with_config(&input, &Config::default().expand(true).ignore_enums(true))?;
2122
let name = in_path
2223
.file_stem()
2324
.unwrap()

0 commit comments

Comments
 (0)