Skip to content

Commit 719eaee

Browse files
authored
Merge pull request #256 from rust-embedded/r0147
release 0.14.7
2 parents ded7ef5 + a15bb45 commit 719eaee

File tree

12 files changed

+33
-20
lines changed

12 files changed

+33
-20
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- rust: nightly
3030
experimental: true
3131
# MSRV
32-
- rust: 1.58.0
32+
- rust: 1.61.0
3333
name: "MSRV"
3434
steps:
3535
- name: Checkout repository

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ It consists of:
1010

1111
## Minimum Supported Rust Version (MSRV)
1212

13-
This crate is guaranteed to compile on stable Rust 1.58.0 and up. It *might*
13+
This crate is guaranteed to compile on stable Rust 1.61.0 and up. It *might*
1414
compile with older versions but that may change in any new patch release.
1515

1616
## License

svd-encoder/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ license = "MIT OR Apache-2.0"
77
name = "svd-encoder"
88
repository = "https://github.com/rust-embedded/svd"
99
edition = "2021"
10-
rust-version = "1.58.0"
10+
rust-version = "1.61.0"
1111
version = "0.14.4"
1212
readme = "README.md"
1313

1414
[dependencies]
1515
convert_case = "0.6.0"
16-
svd-rs = { version = "0.14.4", path = "../svd-rs" }
16+
svd-rs = { version = "0.14.7", path = "../svd-rs" }
1717
thiserror = "1.0.31"
1818

1919
[dependencies.xmltree]

svd-encoder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This project is developed and maintained by the [Tools team][team].
1313

1414
## Minimum Supported Rust Version (MSRV)
1515

16-
This crate is guaranteed to compile on stable Rust 1.58.0 and up. It *might*
16+
This crate is guaranteed to compile on stable Rust 1.61.0 and up. It *might*
1717
compile with older versions but that may change in any new patch release.
1818

1919
## License

svd-parser/CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## Unreleased
99

10+
## [v0.14.5] - 2024-01-03
11+
12+
- Bump MSRV to 1.61.0
13+
- Bump svd-rs to 0.14.7, roxmltree to 0.19
14+
1015
## [v0.14.4] - 2023-11-15
1116

1217
- Bump svd-rs dependency to 0.14.4 or higher.
@@ -63,7 +68,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
6368

6469
Previous versions in common [changelog](../CHANGELOG.md).
6570

66-
[Unreleased]: https://github.com/rust-embedded/svd/compare/svd-parser-v0.14.4...HEAD
71+
[Unreleased]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.14.7...HEAD
72+
[v0.14.5]: https://github.com/rust-embedded/svd/compare/svd-parser-v0.14.4...svd-rs-v0.14.7
6773
[v0.14.4]: https://github.com/rust-embedded/svd/compare/svd-parser-v0.14.3...svd-parser-v0.14.4
6874
[v0.14.3]: https://github.com/rust-embedded/svd/compare/svd-parser-v0.14.2...svd-parser-v0.14.3
6975
[v0.14.2]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.14.2...svd-parser-v0.14.2

svd-parser/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@ license = "MIT OR Apache-2.0"
1010
name = "svd-parser"
1111
repository = "https://github.com/rust-embedded/svd"
1212
edition = "2021"
13-
rust-version = "1.58.0"
14-
version = "0.14.4"
13+
rust-version = "1.61.0"
14+
version = "0.14.5"
1515
readme = "README.md"
1616

1717
[features]
1818
derive-from = ["svd-rs/derive-from"]
1919
expand = ["derive-from"]
2020

2121
[dependencies]
22-
svd-rs = { version = "0.14.4", path = "../svd-rs" }
23-
roxmltree = "0.18"
22+
svd-rs = { version = "0.14.7", path = "../svd-rs" }
23+
roxmltree = "0.19"
2424
anyhow = "1.0.58"
2525
thiserror = "1.0.31"
2626

2727
[dev-dependencies]
2828
serde_json = { version = "1.0", features = ["preserve_order"] }
2929
serde_yaml = "0.8.26"
30-
svd-rs = { version = "0.14.4", path = "../svd-rs", features = ["serde"] }
30+
svd-rs = { version = "0.14.7", path = "../svd-rs", features = ["serde"] }
3131

3232
[[example]]
3333
name = "svd2json"

svd-parser/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This project is developed and maintained by the [Tools team][team].
1313

1414
## Minimum Supported Rust Version (MSRV)
1515

16-
This crate is guaranteed to compile on stable Rust 1.58.0 and up. It *might*
16+
This crate is guaranteed to compile on stable Rust 1.61.0 and up. It *might*
1717
compile with older versions but that may change in any new patch release.
1818

1919
## License

svd-parser/src/expand.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ impl FieldPath {
128128
let name = v.pop().unwrap();
129129
let register = if !v.is_empty() {
130130
let (block, rname) = RegisterPath::parse_vec(v);
131-
Some(RegisterPath::new(block.unwrap(), rname))
131+
Some(RegisterPath::new(
132+
block.expect("Full qualifying field path is expected"),
133+
rname,
134+
))
132135
} else {
133136
None
134137
};

svd-rs/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## Unreleased
99

10+
## [v0.14.7] - 2024-01-03
11+
12+
- Bump MSRV to 1.61.0
1013
- use close range in `EnumeratedValue` error message
1114

1215
## [v0.14.6] - 2023-11-29
@@ -105,7 +108,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
105108

106109
Previous versions in common [changelog](../CHANGELOG.md).
107110

108-
[Unreleased]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.14.6...HEAD
111+
[Unreleased]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.14.7...HEAD
112+
[v0.14.7]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.14.6...svd-rs-v0.14.7
109113
[v0.14.6]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.14.5...svd-rs-v0.14.6
110114
[v0.14.5]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.14.4...svd-rs-v0.14.5
111115
[v0.14.4]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.14.3...svd-rs-v0.14.4

svd-rs/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ license = "MIT OR Apache-2.0"
99
name = "svd-rs"
1010
repository = "https://github.com/rust-embedded/svd"
1111
edition = "2021"
12-
rust-version = "1.58.0"
13-
version = "0.14.6"
12+
rust-version = "1.61.0"
13+
version = "0.14.7"
1414
readme = "README.md"
1515

1616
[features]
@@ -20,10 +20,10 @@ derive-from = []
2020
thiserror = "1.0.31"
2121

2222
[dependencies.regex]
23-
version = "1"
23+
version = "=1.9.6"
2424

2525
[dependencies.once_cell]
26-
version = "1.17.1"
26+
version = "1.17.2"
2727

2828
[dependencies.serde]
2929
version = "1.0"

0 commit comments

Comments
 (0)