Skip to content

Commit 0ba1a37

Browse files
committed
release rust 0.3.2
1 parent e5b65b4 commit 0ba1a37

File tree

5 files changed

+22
-51
lines changed

5 files changed

+22
-51
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
- name: Install Python
1919
uses: actions/setup-python@v2
2020
with:
@@ -43,14 +43,7 @@ jobs:
4343
#- rp2040
4444
steps:
4545
- name: Checkout code
46-
uses: actions/checkout@v3
47-
- name: Install Rust
48-
uses: actions-rs/toolchain@v1
49-
with:
50-
toolchain: stable
51-
profile: minimal
52-
override: true
53-
components: rustfmt
46+
uses: actions/checkout@v4
5447
- name: Install Python
5548
uses: actions/setup-python@v2
5649
with:

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,9 @@ jobs:
1818
- { target: x86_64-pc-windows-msvc, os: windows-latest, suffix: .zip }
1919
runs-on: ${{ matrix.os }}
2020
steps:
21-
- uses: actions/checkout@v3
22-
- uses: actions-rs/toolchain@v1
23-
with:
24-
toolchain: stable
25-
profile: minimal
26-
target: ${{ matrix.target }}
27-
override: true
21+
- uses: actions/checkout@v4
22+
- name: Install Rust toolchain
23+
run: rustup target add ${{ matrix.target }}
2824
- name: Cache Dependencies
2925
uses: Swatinem/rust-cache@v1
3026
with:
@@ -52,7 +48,7 @@ jobs:
5248
runs-on: ubuntu-latest
5349
needs: [build]
5450
steps:
55-
- uses: actions/checkout@v3
51+
- uses: actions/checkout@v4
5652
- uses: actions/download-artifact@v3
5753
with:
5854
path: artifacts

.github/workflows/rust-ci.yaml

Lines changed: 6 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ jobs:
1616
RUSTFLAGS: "-D warnings"
1717
RUSTDOCFLAGS: "-D warnings"
1818
steps:
19-
- uses: actions/checkout@v3
20-
- uses: actions-rs/toolchain@v1
21-
with:
22-
toolchain: stable
19+
- uses: actions/checkout@v4
2320
- run: cargo build
2421
- run: cargo doc
2522

@@ -29,10 +26,7 @@ jobs:
2926
RUSTFLAGS: "-D warnings"
3027
runs-on: ubuntu-latest
3128
steps:
32-
- uses: actions/checkout@v3
33-
- uses: actions-rs/toolchain@v1
34-
with:
35-
toolchain: stable
29+
- uses: actions/checkout@v4
3630
- run: cargo test
3731

3832
test_convert:
@@ -41,10 +35,7 @@ jobs:
4135
RUSTFLAGS: "-D warnings"
4236
runs-on: ubuntu-latest
4337
steps:
44-
- uses: actions/checkout@v3
45-
- uses: actions-rs/toolchain@v1
46-
with:
47-
toolchain: stable
38+
- uses: actions/checkout@v4
4839
- run: |
4940
cargo run --release -- convert res/example1/stm32l4x2.svd stm32l4x2.yaml
5041
cargo run --release -- convert res/example1/stm32l4x2.svd stm32l4x2.json
@@ -55,24 +46,14 @@ jobs:
5546
name: Clippy
5647
runs-on: ubuntu-latest
5748
steps:
58-
- uses: actions/checkout@v3
59-
- uses: actions-rs/toolchain@v1
60-
with:
61-
toolchain: stable
62-
components: clippy
63-
# not using clippy-check due to this issue:
64-
# https://github.com/actions-rs/clippy-check/issues/2
49+
- uses: actions/checkout@v4
6550
- run: cargo clippy -- --deny warnings
6651

6752
format:
6853
name: Format
6954
runs-on: ubuntu-latest
7055
steps:
71-
- uses: actions/checkout@v3
72-
- uses: actions-rs/toolchain@v1
73-
with:
74-
toolchain: stable
75-
components: rustfmt
56+
- uses: actions/checkout@v4
7657
- run: cargo fmt -- --check
7758
check:
7859
name: Check
@@ -83,14 +64,7 @@ jobs:
8364
- stm32
8465
steps:
8566
- name: Checkout code
86-
uses: actions/checkout@v3
87-
- name: Install Rust
88-
uses: actions-rs/toolchain@v1
89-
with:
90-
toolchain: stable
91-
profile: minimal
92-
override: true
93-
components: rustfmt
67+
uses: actions/checkout@v4
9468
- name: Install svdtools
9569
run: |
9670
cargo install svdtools --path .

CHANGELOG-rust.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ This changelog tracks the Rust `svdtools` project. See
55

66
## [Unreleased]
77

8+
## [v0.3.2] 2023-10-01
9+
10+
* `_modify` `derivedFrom` for peripherals, clusters, registers and fields
11+
* fix field bit range in `svdtools html`
12+
813
## [v0.3.1] 2023-09-19
914

1015
* add `svdtools html` and `svdtools htmlcompare` tools from `stm32-rs`
@@ -81,7 +86,9 @@ Other changes:
8186

8287
* Initial release with feature-parity with the Python project.
8388

84-
[Unreleased]: https://github.com/stm32-rs/svdtools/compare/v0.3.0...HEAD
89+
[Unreleased]: https://github.com/stm32-rs/svdtools/compare/v0.3.2...HEAD
90+
[v0.3.2]: https://github.com/stm32-rs/svdtools/compare/v0.3.1...v0.3.2
91+
[v0.3.1]: https://github.com/stm32-rs/svdtools/compare/v0.3.0...v0.3.1
8592
[v0.3.0]: https://github.com/stm32-rs/svdtools/compare/v0.2.8...v0.3.0
8693
[v0.2.8]: https://github.com/stm32-rs/svdtools/compare/v0.2.7...v0.2.8
8794
[v0.2.7]: https://github.com/stm32-rs/svdtools/compare/v0.2.6...v0.2.7

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "svdtools"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
repository = "https://github.com/stm32-rs/svdtools"
55
description = "Tool for modifying bugs in CMSIS SVD"
66
authors = [
@@ -22,6 +22,7 @@ license = "MIT OR Apache-2.0"
2222
readme = "README.md"
2323
include = ["/res", "/src", "/tests", "CHANGELOG-rust.md", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
2424
edition = "2021"
25+
rust-version = "1.70"
2526

2627
[dependencies]
2728
clap = { version = "4.1", features = ["derive", "cargo", "color"] }

0 commit comments

Comments
 (0)