Skip to content

Commit

Permalink
Merge pull request #155 from rust-embedded/newrelease
Browse files Browse the repository at this point in the history
release 0.3.1
  • Loading branch information
burrbull committed Sep 20, 2023
2 parents c671112 + 3f8ca15 commit 77bbbba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 = [
Expand All @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion src/html/htmlcompare_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ fn parse(in_path: &Path) -> Result<Part> {
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()
Expand Down

0 comments on commit 77bbbba

Please sign in to comment.