v0.10.0-beta.3
Pre-release
Pre-release
github-actions
released this
08 Feb 16:29
·
94 commits
to main
since this release
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 useTruncatedMsg
when not enough bytes available to read
Other changes
- bump
bytes
crate version to1.5.0