Version 0.11.2
What's changed
This release is a small first step towards reworking the current readers to be more usable, but creating a new API has been a bit of a challenge, so those changes are still in the works. In the mean time however: some of the changes can be helpful even now, so @CMDR-WDX has ported over some of these additions to the master branch. Thanks!
A new module called io currently is just contains two models: LogIter and AsyncIter. These models allow reading over some binary data without it necessarily needing to be a file and they implement their respective iterator traits (Iterator for LogIter and futures::Steam for AsyncIter)
In the future the io module will house all the models related to reading logs and journals and the current readers will be removed.
Change log
- Added
LogIterfor iterating over someio::Read. - Added
AsyncIterfor streaming data over somefutures::AsyncRead - Added
tokiofeature preparing for changes to how async is handled in the future.