This project follows Rust semantic versioning.
PBufWr::closeandPBufWr::abortno longer panic if the stream is already closed
PBufRd::data_mutto support Rustls unbuffered interface
- Generic support for contained element types other than
u8. So this allowsu16streams orcharstreams, etc to be supported. PBufWr::try_spaceto get a writable slice to available space, but only if enough bytes are freePBufWr::free_spaceto report the number of bytes of space available in fixed-sized buffers
These changes were contributed by Ken Hoover.
- Most code will compile with no changes. However for some cases,
especially small tests and examples, Rust may complain about not
knowing the type for the
newmethod, andu8will need to be specified, e.g.PipeBuf::<u8>::new(). This is because Rust does not allow the defaultT = u8to be specified on methods, and relies on inference. Normally the inference works fine, though.
- Tests giving 99% coverage. Missing 1% is due to KCOV weirdness.
- Compaction bug for "static" (no_std) feature
First public release