Repository navigation
v0.10.0-beta.3
Pre-release
Pre-release
·
556 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 useTruncatedMsgwhen not enough bytes available to read
Other changes
- bump
bytescrate version to1.5.0