📖 channel_io
A small helper library to convert a flume channel of Bytes into a Channel{Reader,Writer} that implements {Read,Write}.
Example
use Read;
use Bytes;
use ChannelReader;
use bounded;
Why flume?
The goal is to bridge an async reader-like-thing (in this case a DmaStreamReader in Glommio) into a synchronous reader.
Why bytes?
I like the API, and in theory as chunks are dropped on the sync side of the sender depending on how the caller is doing things the memory can be reused.