Skip to content

v0.10.0-beta.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 08 Feb 16:29
· 94 commits to main since this release
7f31cdb

Highlights

Bytes::split_to will panic if not enough bytes available.
We added multiple safety checks to make sure enough bytes are available before calling .split_to() function.
If not enough bytes available, it will send out a TruncatedMsg error.
The current iterator will catch the error and skip the remainder of the message.

Breaking changes

  • remove IoNotEnoughBytes, and use TruncatedMsg when not enough bytes available to read

Other changes

  • bump bytes crate version to 1.5.0