Skip to content

Commit 4680d8d

Browse files
authored
Merge pull request #239 from yodaldevoid/expand_config_feature_fix
Correctly place `expand_properties` under `expand` feature
2 parents 23d5a43 + e99e618 commit 4680d8d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

svd-parser/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
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+
- Correctly place `expand_properties` under `expand` feature
11+
1012
## [v0.14.2] - 2023-09-17
1113

1214
- Bump MSRV to 1.58.0

svd-parser/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ pub struct Config {
4444
/// Expand arrays and resolve derivedFrom
4545
// TODO: split it on several independent options
4646
pub expand: bool,
47+
#[cfg(feature = "expand")]
4748
/// Derive register properties from parents
4849
pub expand_properties: bool,
4950
/// Skip parsing and emitting `enumeratedValues` and `writeConstraint` in `Field`

0 commit comments

Comments
 (0)