All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
1.0.3 - 2023-04-09
- Documentation improvements.
1.0.2 - 2023-04-09
- 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 aBufList
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
.
1.0.1 - 2023-02-16
- Add recipes for converting a
BufList
into aStream
or aTryStream
.
1.0.0 - 2023-01-06
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
push_chunk
now has a type parameterB: Buf
rather thanimpl Buf
.
0.1.3 - 2022-12-11
- Fix license indication in README: this crate is Apache-2.0 only, not MIT OR Apache-2.0.
0.1.2 - 2022-12-10
- Fix intradoc links.
0.1.1 - 2022-12-10
- Fixes to README.
- Add MSRV policy.
0.1.0 - 2022-12-10
- Initial release.