Skip to content

Commit e632f16

Browse files
committed
Release embedded-io{,-async,-adapters} v0.6.0
1 parent eab3759 commit e632f16

File tree

6 files changed

+26
-8
lines changed

6 files changed

+26
-8
lines changed

embedded-io-adapters/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
Add unreleased changes here
11+
12+
## 0.6.0 - 2023-10-02
13+
1014
- Add support for adapting `BufRead` from `futures` and `tokio`.
1115
- Return an error when a wrapped `std`/`futures`/`tokio` `write()` call returns
1216
`Ok(0)` to comply with `embedded_io::Write` requirements.

embedded-io-adapters/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "embedded-io-adapters"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
edition = "2021"
55
description = "Adapters between the `embedded-io` traits and other I/O traits"
66
repository = "https://github.com/rust-embedded/embedded-hal"
@@ -17,8 +17,8 @@ tokio-1 = ["std", "dep:tokio", "dep:embedded-io-async", "embedded-io-async?/std"
1717
futures-03 = ["std", "dep:futures", "dep:embedded-io-async", "embedded-io-async?/std"]
1818

1919
[dependencies]
20-
embedded-io = { version = "0.5", path = "../embedded-io" }
21-
embedded-io-async = { version = "0.5", path = "../embedded-io-async", optional = true }
20+
embedded-io = { version = "0.6", path = "../embedded-io" }
21+
embedded-io-async = { version = "0.6", path = "../embedded-io-async", optional = true }
2222

2323
futures = { version = "0.3.21", features = ["std"], default-features = false, optional = true }
2424
tokio = { version = "1", features = ["io-util"], default-features = false, optional = true }

embedded-io-async/CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## Unreleased
9+
10+
Add unreleased changes here
11+
12+
## 0.6.0 - 2023-10-02
13+
14+
- Prohibit `Write::write` implementations returning `Ok(0)` unless there is no
15+
data to write; consequently remove `WriteAllError`.
16+
Update the `&mut [u8]` impl to possibly return
17+
a new `SliceWriteError` if the slice is full instead of `Ok(0)`.
18+
- Add `WriteZero` variant to `ErrorKind` for implementations that previously
19+
may have returned `Ok(0)` to indicate no further data could be written.
20+
- `Write::write_all` now panics if the `write()` implementation returns `Ok(0)`.
21+
822
## 0.5.0 - 2023-08-06
923

10-
- First release
24+
- First release

embedded-io-async/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "embedded-io-async"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
edition = "2021"
55
description = "Async embedded IO traits"
66
repository = "https://github.com/rust-embedded/embedded-hal"
@@ -17,7 +17,7 @@ alloc = ["embedded-io/alloc"]
1717
defmt-03 = ["dep:defmt-03", "embedded-io/defmt-03"]
1818

1919
[dependencies]
20-
embedded-io = { version = "0.5", path = "../embedded-io" }
20+
embedded-io = { version = "0.6", path = "../embedded-io" }
2121
defmt-03 = { package = "defmt", version = "0.3", optional = true }
2222

2323
[package.metadata.docs.rs]

embedded-io/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## Unreleased
8+
## 0.6.0 - 2023-10-02
99

1010
- Prohibit `Write::write` implementations returning `Ok(0)` unless there is no
1111
data to write; consequently remove `WriteAllError` and the `WriteAllError`

embedded-io/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "embedded-io"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
edition = "2021"
55
description = "Embedded IO traits"
66
repository = "https://github.com/rust-embedded/embedded-hal"

0 commit comments

Comments
 (0)