All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Make
Write::flush()a required method, aligning with std and embedded-io - Update to and align with embedded-io 0.7:
- Error type is updated to include core::Error
- Update
defmtdependency to 1.0; rename feature fromdefmt_03todefmt - Require
ReadandWriteto be implemented for various Read and Write traits - Fix missing method forwardings for blanket implementations
- Documentation updates
- Implement
Read,ReadReady,BufRead,Write, andWriteReadyforVecDeque<u8>
- Use
feature()on nightly toolchains only. This adds support for 1.75 beta and stable.
- Prohibit
Write::writeimplementations returningOk(0)unless there is no data to write; consequently removeWriteAllError. Update the&mut [u8]impl to possibly return a newSliceWriteErrorif the slice is full instead ofOk(0). - Add
WriteZerovariant toErrorKindfor implementations that previously may have returnedOk(0)to indicate no further data could be written. Write::write_allnow panics if thewrite()implementation returnsOk(0).
- First release