Skip to content

Commit 0a8cdba

Browse files
committed
impl-defmt
1 parent 9350bfc commit 0a8cdba

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
- { rust: stable, vendor: Spansion, options: "--atomics" }
7676
- { rust: stable, vendor: STMicro, options: "" }
7777
- { rust: stable, vendor: STMicro, options: "--atomics" }
78-
- { rust: stable, vendor: STM32-patched, options: "--strict --pascal_enum_values --max_cluster_size --atomics --atomics_feature atomics --impl_debug --impl_defmt defmt" }
78+
- { rust: stable, vendor: STM32-patched, options: "--strict --pascal_enum_values --max_cluster_size --atomics --atomics_feature atomics --impl_debug --impl-defmt defmt" }
7979
- { rust: stable, vendor: Toshiba, options: all }
8080
- { rust: stable, vendor: Toshiba, options: "" }
8181
# Test MSRV

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
1717
- *breaking change* Always numerates field arrays from 0
1818
- Support of default value for `EnumeratedValues`
1919
- move `Config` to `config` module
20-
- add `impl_defmt` config flag
20+
- add `impl-defmt` config flag
2121

2222
## [v0.30.3] - 2023-11-19
2323

ci/script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ main() {
4646
if [[ "$options" == *"--atomics"* ]]; then
4747
echo 'portable-atomic = { version = "1.4", default-features = false }' >> $td/Cargo.toml
4848
fi
49-
if [[ "$options" == *"--impl_defmt"* ]]; then
49+
if [[ "$options" == *"--impl-defmt"* ]]; then
5050
echo 'defmt = { version = "0.3.5", optional = true }' >> $td/Cargo.toml
5151
fi
5252
echo '[profile.dev]' >> $td/Cargo.toml

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ fn run() -> Result<()> {
133133
)
134134
.arg(
135135
Arg::new("impl_defmt")
136-
.long("impl_defmt")
136+
.long("impl-defmt")
137137
.help("Add automatic defmt implementation for enumerated values")
138138
.action(ArgAction::Set)
139139
.value_name("FEATURE"),

0 commit comments

Comments
 (0)