This project follows Rust semantic versioning.
PBufWr::close
andPBufWr::abort
no longer panic if the stream is already closed
PBufRd::data_mut
to support Rustls unbuffered interface
- Generic support for contained element types other than
u8
. So this allowsu16
streams orchar
streams, etc to be supported. PBufWr::try_space
to get a writable slice to available space, but only if enough bytes are freePBufWr::free_space
to 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
new
method, andu8
will need to be specified, e.g.PipeBuf::<u8>::new()
. This is because Rust does not allow the defaultT = u8
to 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