Skip to content

Version 0.11.2

Choose a tag to compare

@rster2002 rster2002 released this 30 Jul 18:48
0913a9b

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 LogIter for iterating over some io::Read.
  • Added AsyncIter for streaming data over some futures::AsyncRead
  • Added tokio feature preparing for changes to how async is handled in the future.