Skip to content

Commit ad72ea8

Browse files
committed
io-async: Update defmt to 1.0, rename feature from defmt_03 to defmt
1 parent 9785014 commit ad72ea8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
cargo build
3737
--workspace
3838
--target thumbv7m-none-eabi
39-
--features async,defmt-03,embedded-io/defmt
39+
--features async,defmt-03,embedded-io/defmt,embedded-io-async/defmt
4040
4141
msrv-1-81:
4242
runs-on: ubuntu-latest

embedded-io-async/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ categories = [
1515
[features]
1616
std = ["alloc", "embedded-io/std"]
1717
alloc = ["embedded-io/alloc"]
18-
defmt-03 = ["dep:defmt-03", "embedded-io/defmt-03"]
18+
defmt = ["dep:defmt", "embedded-io/defmt"]
1919

2020
[dependencies]
2121
embedded-io = { version = "0.6.1", path = "../embedded-io" }
22-
defmt-03 = { package = "defmt", version = "0.3", optional = true }
22+
defmt = { package = "defmt", version = "1.0", optional = true }
2323

2424
[package.metadata.docs.rs]
2525
features = ["std"]

embedded-io-async/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This project is developed and maintained by the [HAL team](https://github.com/ru
1414

1515
- **`std`**: Adds `From` impls to convert to/from `std::io` structs.
1616
- **`alloc`**: Adds blanket impls for `Box`, adds `Write` impl to `Vec`.
17-
- **`defmt-03`**: Derive `defmt::Format` from `defmt` 0.3 for enums and structs.
17+
- **`defmt`**: Derive `defmt::Format` from `defmt` 1.0 for enums and structs.
1818

1919
## Minimum Supported Rust Version (MSRV)
2020

0 commit comments

Comments
 (0)