File tree Expand file tree Collapse file tree 10 files changed +33
-22
lines changed Expand file tree Collapse file tree 10 files changed +33
-22
lines changed Original file line number Diff line number Diff line change 19
19
experimental : true
20
20
steps :
21
21
- name : Checkout repository
22
- uses : actions/checkout@v2
22
+ uses : actions/checkout@v3
23
23
- name : Install Rust
24
24
uses : actions-rs/toolchain@v1
25
25
with :
34
34
runs-on : ubuntu-latest
35
35
steps :
36
36
- name : Checkout repository
37
- uses : actions/checkout@v2
37
+ uses : actions/checkout@v3
38
38
- name : Install Rust
39
39
uses : actions-rs/toolchain@v1
40
40
with :
49
49
runs-on : ubuntu-latest
50
50
steps :
51
51
- name : Checkout repository
52
- uses : actions/checkout@v2
52
+ uses : actions/checkout@v3
53
53
- name : Install Rust
54
54
uses : actions-rs/toolchain@v1
55
55
with :
Original file line number Diff line number Diff line change 8
8
clippy_check :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
11
+ - uses : actions/checkout@v3
12
12
- uses : actions-rs/toolchain@v1
13
13
with :
14
14
profile : minimal
18
18
- uses : actions-rs/clippy-check@v1
19
19
with :
20
20
token : ${{ secrets.GITHUB_TOKEN }}
21
+ args : --all-features
Original file line number Diff line number Diff line change 10
10
name : Rustfmt
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v3
14
14
- uses : actions-rs/toolchain@v1
15
15
with :
16
16
profile : minimal
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## Unreleased
9
9
10
+ ## [ v0.14.0] - 2022-07-19
11
+
10
12
- Bump MSRV to 1.56.0 (2021)
11
13
- Add advanced encoder options ` Config `
12
14
- BREAKING: ` Encode ` trait needs to implement ` encode_with_config `
@@ -31,7 +33,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
31
33
32
34
Previous versions in common [ changelog] ( ../CHANGELOG.md ) .
33
35
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
35
38
[ v0.13.1 ] : https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.1...svd-rs-v0.13.1
36
39
[ v0.13.0 ] : https://github.com/rust-embedded/svd/compare/v0.12.0...v0.13.0
37
40
[ v0.12.0 ] : https://github.com/rust-embedded/svd/compare/v0.11.0...v0.12.0
Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ name = "svd-encoder"
8
8
repository = " https://github.com/rust-embedded/svd"
9
9
edition = " 2021"
10
10
rust-version = " 1.56.0"
11
- version = " 0.13.1 "
11
+ version = " 0.14.0 "
12
12
readme = " README.md"
13
13
14
14
[dependencies ]
15
15
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 "
18
18
19
19
[dependencies .xmltree ]
20
20
version = " 0.10.3"
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## Unreleased
9
9
10
+ ## [ v0.14.0] - 2022-07-19
11
+
12
+ - Make ` expand::Index ` , pathes & ` derive_peripheral ` , etc. public
10
13
- Fix parsing ` xs:noNamespaceSchemaLocation `
11
14
- Bump MSRV to 1.56.0 (2021)
12
15
@@ -42,7 +45,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
42
45
43
46
Previous versions in common [ changelog] ( ../CHANGELOG.md ) .
44
47
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
46
50
[ v0.13.4 ] : https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.3...svd-parser-v0.13.4
47
51
[ v0.13.3 ] : https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.2...svd-parser-v0.13.3
48
52
[ v0.13.2 ] : https://github.com/rust-embedded/svd/compare/svd-rs-v0.13.2...svd-parser-v0.13.2
Original file line number Diff line number Diff line change @@ -11,23 +11,23 @@ name = "svd-parser"
11
11
repository = " https://github.com/rust-embedded/svd"
12
12
edition = " 2021"
13
13
rust-version = " 1.56.0"
14
- version = " 0.13.4 "
14
+ version = " 0.14.0 "
15
15
readme = " README.md"
16
16
17
17
[features ]
18
18
derive-from = [" svd-rs/derive-from" ]
19
19
expand = [" derive-from" ]
20
20
21
21
[dependencies ]
22
- svd-rs = { version = " 0.13.2 " , path = " ../svd-rs" }
22
+ svd-rs = { version = " 0.14.0 " , path = " ../svd-rs" }
23
23
roxmltree = " 0.14.1"
24
- anyhow = " 1.0.45 "
25
- thiserror = " 1.0.30 "
24
+ anyhow = " 1.0.58 "
25
+ thiserror = " 1.0.31 "
26
26
27
27
[dev-dependencies ]
28
28
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" ] }
31
31
32
32
[[example ]]
33
33
name = " svd2json"
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ impl FieldPath {
133
133
& self . register
134
134
}
135
135
pub fn peripheral ( & self ) -> & String {
136
- & self . register . peripheral ( )
136
+ self . register . peripheral ( )
137
137
}
138
138
}
139
139
@@ -167,7 +167,7 @@ impl EnumPath {
167
167
& self . field . register
168
168
}
169
169
pub fn peripheral ( & self ) -> & String {
170
- & self . field . peripheral ( )
170
+ self . field . peripheral ( )
171
171
}
172
172
}
173
173
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## Unreleased
9
9
10
+ ## [ v0.14.0] - 2022-07-19
11
+
10
12
- Bump MSRV to 1.56.0 (2021)
11
13
12
14
## [ v0.13.2] - 2022-04-12
@@ -70,7 +72,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
70
72
71
73
Previous versions in common [ changelog] ( ../CHANGELOG.md ) .
72
74
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
74
77
[ v0.13.2 ] : https://github.com/rust-embedded/svd/compare/svd-rs-v0.13.1...svd-rs-v0.13.2
75
78
[ v0.13.1 ] : https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.1...svd-rs-v0.13.1
76
79
[ v0.13.0 ] : https://github.com/rust-embedded/svd/compare/svd-rs-v0.12.1...v0.13.0
Original file line number Diff line number Diff line change @@ -10,20 +10,20 @@ name = "svd-rs"
10
10
repository = " https://github.com/rust-embedded/svd"
11
11
edition = " 2021"
12
12
rust-version = " 1.56.0"
13
- version = " 0.13.2 "
13
+ version = " 0.14.0 "
14
14
readme = " README.md"
15
15
16
16
[features ]
17
17
derive-from = []
18
18
19
19
[dependencies ]
20
- thiserror = " 1.0.5 "
20
+ thiserror = " 1.0.31 "
21
21
22
22
[dependencies .regex ]
23
23
version = " 1"
24
24
25
25
[dependencies .once_cell ]
26
- version = " 1.8 .0"
26
+ version = " 1.13 .0"
27
27
28
28
[dependencies .serde ]
29
29
version = " 1.0"
You can’t perform that action at this time.
0 commit comments