Skip to content

Commit 1875ff4

Browse files
committed
release v0.14.0
1 parent 64bfaaf commit 1875ff4

File tree

10 files changed

+33
-22
lines changed

10 files changed

+33
-22
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
experimental: true
2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323
- name: Install Rust
2424
uses: actions-rs/toolchain@v1
2525
with:
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- name: Checkout repository
37-
uses: actions/checkout@v2
37+
uses: actions/checkout@v3
3838
- name: Install Rust
3939
uses: actions-rs/toolchain@v1
4040
with:
@@ -49,7 +49,7 @@ jobs:
4949
runs-on: ubuntu-latest
5050
steps:
5151
- name: Checkout repository
52-
uses: actions/checkout@v2
52+
uses: actions/checkout@v3
5353
- name: Install Rust
5454
uses: actions-rs/toolchain@v1
5555
with:

.github/workflows/clippy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
clippy_check:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
- uses: actions-rs/toolchain@v1
1313
with:
1414
profile: minimal
@@ -18,3 +18,4 @@ jobs:
1818
- uses: actions-rs/clippy-check@v1
1919
with:
2020
token: ${{ secrets.GITHUB_TOKEN }}
21+
args: --all-features

.github/workflows/rustfmt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Rustfmt
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414
- uses: actions-rs/toolchain@v1
1515
with:
1616
profile: minimal

svd-encoder/CHANGELOG.md

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

88
## Unreleased
99

10+
## [v0.14.0] - 2022-07-19
11+
1012
- Bump MSRV to 1.56.0 (2021)
1113
- Add advanced encoder options `Config`
1214
- BREAKING: `Encode` trait needs to implement `encode_with_config`
@@ -31,7 +33,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
3133

3234
Previous versions in common [changelog](../CHANGELOG.md).
3335

34-
[Unreleased]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.13.1...HEAD
36+
[Unreleased]: https://github.com/rust-embedded/svd/compare/v0.14.0...HEAD
37+
[v0.13.1]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.13.1..v0.14.0
3538
[v0.13.1]: https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.1...svd-rs-v0.13.1
3639
[v0.13.0]: https://github.com/rust-embedded/svd/compare/v0.12.0...v0.13.0
3740
[v0.12.0]: https://github.com/rust-embedded/svd/compare/v0.11.0...v0.12.0

svd-encoder/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ name = "svd-encoder"
88
repository = "https://github.com/rust-embedded/svd"
99
edition = "2021"
1010
rust-version = "1.56.0"
11-
version = "0.13.1"
11+
version = "0.14.0"
1212
readme = "README.md"
1313

1414
[dependencies]
1515
convert_case = "0.5.0"
16-
svd-rs = { version = "0.13.1", path = "../svd-rs" }
17-
thiserror = "1.0.30"
16+
svd-rs = { version = "0.14.0", path = "../svd-rs" }
17+
thiserror = "1.0.31"
1818

1919
[dependencies.xmltree]
2020
version = "0.10.3"

svd-parser/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.0] - 2022-07-19
11+
12+
- Make `expand::Index`, pathes & `derive_peripheral`, etc. public
1013
- Fix parsing `xs:noNamespaceSchemaLocation`
1114
- Bump MSRV to 1.56.0 (2021)
1215

@@ -42,7 +45,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4245

4346
Previous versions in common [changelog](../CHANGELOG.md).
4447

45-
[Unreleased]: https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.4...HEAD
48+
[Unreleased]: https://github.com/rust-embedded/svd/compare/v0.14.0...HEAD
49+
[v0.13.4]: https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.4...v0.14.0
4650
[v0.13.4]: https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.3...svd-parser-v0.13.4
4751
[v0.13.3]: https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.2...svd-parser-v0.13.3
4852
[v0.13.2]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.13.2...svd-parser-v0.13.2

svd-parser/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@ name = "svd-parser"
1111
repository = "https://github.com/rust-embedded/svd"
1212
edition = "2021"
1313
rust-version = "1.56.0"
14-
version = "0.13.4"
14+
version = "0.14.0"
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.13.2", path = "../svd-rs" }
22+
svd-rs = { version = "0.14.0", path = "../svd-rs" }
2323
roxmltree = "0.14.1"
24-
anyhow = "1.0.45"
25-
thiserror = "1.0.30"
24+
anyhow = "1.0.58"
25+
thiserror = "1.0.31"
2626

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

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

svd-parser/src/expand.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ impl FieldPath {
133133
&self.register
134134
}
135135
pub fn peripheral(&self) -> &String {
136-
&self.register.peripheral()
136+
self.register.peripheral()
137137
}
138138
}
139139

@@ -167,7 +167,7 @@ impl EnumPath {
167167
&self.field.register
168168
}
169169
pub fn peripheral(&self) -> &String {
170-
&self.field.peripheral()
170+
self.field.peripheral()
171171
}
172172
}
173173

svd-rs/CHANGELOG.md

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

88
## Unreleased
99

10+
## [v0.14.0] - 2022-07-19
11+
1012
- Bump MSRV to 1.56.0 (2021)
1113

1214
## [v0.13.2] - 2022-04-12
@@ -70,7 +72,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7072

7173
Previous versions in common [changelog](../CHANGELOG.md).
7274

73-
[Unreleased]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.13.2...HEAD
75+
[Unreleased]: https://github.com/rust-embedded/svd/compare/v0.14.0...HEAD
76+
[v0.13.2]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.13.2...v0.14.0
7477
[v0.13.2]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.13.1...svd-rs-v0.13.2
7578
[v0.13.1]: https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.1...svd-rs-v0.13.1
7679
[v0.13.0]: https://github.com/rust-embedded/svd/compare/svd-rs-v0.12.1...v0.13.0

svd-rs/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ name = "svd-rs"
1010
repository = "https://github.com/rust-embedded/svd"
1111
edition = "2021"
1212
rust-version = "1.56.0"
13-
version = "0.13.2"
13+
version = "0.14.0"
1414
readme = "README.md"
1515

1616
[features]
1717
derive-from = []
1818

1919
[dependencies]
20-
thiserror = "1.0.5"
20+
thiserror = "1.0.31"
2121

2222
[dependencies.regex]
2323
version = "1"
2424

2525
[dependencies.once_cell]
26-
version = "1.8.0"
26+
version = "1.13.0"
2727

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

0 commit comments

Comments
 (0)