File tree Expand file tree Collapse file tree 5 files changed +22
-8
lines changed Expand file tree Collapse file tree 5 files changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## Unreleased
9
9
10
+ ## [ v0.14.1] - 2022-10-23
11
+
12
+ - Update to ` svd-rs ` 0.14.1
13
+ - Add ` BlockPath::parent `
14
+
10
15
## [ v0.14.0] - 2022-07-19
11
16
12
17
- Make ` expand::Index ` , pathes & ` derive_peripheral ` , etc. public
@@ -45,8 +50,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
45
50
46
51
Previous versions in common [ changelog] ( ../CHANGELOG.md ) .
47
52
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
53
+ [ Unreleased ] : https://github.com/rust-embedded/svd/compare/svd-rs-v0.14.1...HEAD
54
+ [ v0.14.1 ] : https://github.com/rust-embedded/svd/compare/v0.14.0...svd-rs-v0.14.1
55
+ [ v0.14.0 ] : https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.4...v0.14.0
50
56
[ v0.13.4 ] : https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.3...svd-parser-v0.13.4
51
57
[ v0.13.3 ] : https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.2...svd-parser-v0.13.3
52
58
[ 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.14.0 "
14
+ version = " 0.14.1 "
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.14.0 " , path = " ../svd-rs" }
22
+ svd-rs = { version = " 0.14.1 " , path = " ../svd-rs" }
23
23
roxmltree = " 0.14.1"
24
24
anyhow = " 1.0.58"
25
25
thiserror = " 1.0.31"
26
26
27
27
[dev-dependencies ]
28
28
serde_json = { version = " 1.0" , features = [" preserve_order" ] }
29
29
serde_yaml = " 0.8.26"
30
- svd-rs = { version = " 0.14.0 " , path = " ../svd-rs" , features = [" serde" ] }
30
+ svd-rs = { version = " 0.14.1 " , path = " ../svd-rs" , features = [" serde" ] }
31
31
32
32
[[example ]]
33
33
name = " svd2json"
Original file line number Diff line number Diff line change @@ -49,6 +49,11 @@ impl BlockPath {
49
49
pub fn name ( & self ) -> & String {
50
50
self . path . last ( ) . unwrap ( )
51
51
}
52
+ pub fn parent ( & self ) -> Option < Self > {
53
+ let mut p = self . clone ( ) ;
54
+ p. path . pop ( ) ?;
55
+ Some ( p)
56
+ }
52
57
}
53
58
54
59
impl fmt:: Display for BlockPath {
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.1] - 2022-10-23
11
+
10
12
- (De)serialize ` dimIndex ` (from)to string
11
13
12
14
## [ v0.14.0] - 2022-07-19
@@ -74,8 +76,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
74
76
75
77
Previous versions in common [ changelog] ( ../CHANGELOG.md ) .
76
78
77
- [ Unreleased ] : https://github.com/rust-embedded/svd/compare/v0.14.0...HEAD
78
- [ v0.13.2 ] : https://github.com/rust-embedded/svd/compare/svd-rs-v0.13.2...v0.14.0
79
+ [ Unreleased ] : https://github.com/rust-embedded/svd/compare/svd-rs-v0.14.1...HEAD
80
+ [ v0.14.1 ] : https://github.com/rust-embedded/svd/compare/v0.14.0...svd-rs-v0.14.1
81
+ [ v0.14.0 ] : https://github.com/rust-embedded/svd/compare/svd-rs-v0.13.2...v0.14.0
79
82
[ v0.13.2 ] : https://github.com/rust-embedded/svd/compare/svd-rs-v0.13.1...svd-rs-v0.13.2
80
83
[ v0.13.1 ] : https://github.com/rust-embedded/svd/compare/svd-parser-v0.13.1...svd-rs-v0.13.1
81
84
[ 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,7 +10,7 @@ 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.14.0 "
13
+ version = " 0.14.1 "
14
14
readme = " README.md"
15
15
16
16
[features ]
You can’t perform that action at this time.
0 commit comments