Skip to content

Commit 21e547a

Browse files
authored
Merge pull request #708 from Dirbaio/release-0.7.1
io: remove supertraits for ReadReady, WriteReady. Release 0.7.1
2 parents a926c2a + ed3297e commit 21e547a

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

embedded-io-async/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- Require `Read` and `Write` to be implemented for various Read and Write traits
1515
- Fix missing method forwardings for blanket implementations
1616
- Documentation updates
17+
- Implement `Read`, `ReadReady`, `BufRead`, `Write`, and `WriteReady` for `VecDeque<u8>`
1718

1819
## 0.6.1 - 2023-11-28
1920

embedded-io/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ 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+
## 0.7.1 - 2025-09-30
9+
10+
- Do not require `Read` and `Write` to be implemented for `ReadReady` and `WriteReady`.
11+
812
## 0.7.0 - 2025-09-30
913

1014
- Add trait dependency on `core::error::Error` to this crate's `Error` trait
@@ -17,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1721
- Add provided `.seek_relative()` method to Seek
1822
- Fix missing method forwardings for blanket implementations
1923
- Specialize `.read_exact()` and `.write_all()` for slices
24+
- Implement `Read`, `ReadReady`, `BufRead`, `Write`, and `WriteReady` for `VecDeque<u8>`
2025

2126
## 0.6.1 - 2023-10-22
2227

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.7.0"
3+
version = "0.7.1"
44
edition = "2021"
55
rust-version = "1.81"
66
description = "Embedded IO traits"

embedded-io/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ pub trait Seek: ErrorType {
530530
///
531531
/// This allows using a [`Read`] or [`BufRead`] in a nonblocking fashion, i.e. trying to read
532532
/// only when it is ready.
533-
pub trait ReadReady: Read {
533+
pub trait ReadReady: ErrorType {
534534
/// Get whether the reader is ready for immediately reading.
535535
///
536536
/// This usually means that there is either some bytes have been received and are buffered and ready to be read,
@@ -544,7 +544,7 @@ pub trait ReadReady: Read {
544544
///
545545
/// This allows using a [`Write`] in a nonblocking fashion, i.e. trying to write
546546
/// only when it is ready.
547-
pub trait WriteReady: Write {
547+
pub trait WriteReady: ErrorType {
548548
/// Get whether the writer is ready for immediately writing.
549549
///
550550
/// This usually means that there is free space in the internal transmit buffer.

0 commit comments

Comments
 (0)