diff --git a/CHANGELOG-rust.md b/CHANGELOG-rust.md index 2442d691..7911bf26 100644 --- a/CHANGELOG-rust.md +++ b/CHANGELOG-rust.md @@ -5,6 +5,9 @@ This changelog tracks the Rust `svdtools` project. See ## [Unreleased] +## [v0.3.1] 2023-09-19 + +* add `svdtools html` and `svdtools htmlcompare` tools from `stm32-rs` * update `svd-encoder`, `--format-config` and optional `out_path` for `patch` * add field name in enumeratedValues derive path diff --git a/Cargo.toml b/Cargo.toml index 0869c457..043079d1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "svdtools" -version = "0.3.0" +version = "0.3.1" repository = "https://github.com/stm32-rs/svdtools" description = "Tool for modifying bugs in CMSIS SVD" authors = [ @@ -26,7 +26,7 @@ edition = "2021" [dependencies] clap = { version = "4.1", features = ["derive", "cargo", "color"] } serde = { version = "1.0", features = ["derive"] } -quick-xml = { version = "0.28", features = ["serialize"] } +quick-xml = { version = "0.30", features = ["serialize"] } svd-rs = { version = "0.14.2", features = ["serde", "derive-from"] } svd-parser = { version = "0.14.2", features = ["expand"] } svd-encoder = "0.14.3" diff --git a/src/html/htmlcompare_cli.rs b/src/html/htmlcompare_cli.rs index 4aca8782..35a136f4 100644 --- a/src/html/htmlcompare_cli.rs +++ b/src/html/htmlcompare_cli.rs @@ -17,7 +17,8 @@ fn parse(in_path: &Path) -> Result { let mut input = String::new(); File::open(in_path)?.read_to_string(&mut input)?; - let device = svd_parser::parse_with_config(&input, &Config::default().expand(true))?; + let device = + svd_parser::parse_with_config(&input, &Config::default().expand(true).ignore_enums(true))?; let name = in_path .file_stem() .unwrap()