Releases: sunshowers-code/buf-list
Releases · sunshowers-code/buf-list
buf-list 1.0.3
- Documentation improvements.
buf-list 1.0.2
Added
- A new type
Cursor
which wraps aBufList
or&BufList
, and implementsSeek
,Read
andBufRead
. BufList
implementsFrom<T>
for anyT
that can be converted toBytes
. This creates a
BufList
with a single chunk.BufList::get_chunk
returns the chunk at the provided index.- New optional features:
tokio1
: makesCursor
implement tokio'sAsyncSeek
,AsyncRead
andAsyncBufRead
futures03
: makesCursor
implement futures'sAsyncSeek
,AsyncRead
andAsyncBufRead
.
buf-list 1.0.1
Added
- Add recipes for converting a
BufList
into aStream
or aTryStream
.
buf-list 1.0.0
Added
BufList
now implementsExtend<B: Buf>
. This means you can now collect a stream ofBytes
, or otherBuf
chunks, directly into aBufList
viaStreamExt::collect
.- Collecting a fallible stream is also possible, via
TryStreamExt::try_collect
.
- Collecting a fallible stream is also possible, via
Changed
push_chunk
now has a type parameterB: Buf
rather thanimpl Buf
.
buf-list 0.1.3
- Fix license indication in README: this crate is Apache-2.0 only, not MIT OR Apache-2.0.
buf-list 0.1.2
- Fix intradoc links.
buf-list 0.1.1
- Fixes to README.
- Add MSRV policy.
buf-list 0.1.0
- Initial release.