countio-0.2.11 has been yanked.
countio
Also check out other xwde projects here.
The wrapper struct to enable byte counting for std::io::Read,
std::io::Write, std::io::Seek and its asynchronous variants from futures
and tokio crates.
Features
stdto enablestd::io::{Read, Write, Seek}. Enabled by default.futuresto enablefutures_io::{AsyncRead, AsyncWrite, AsyncSeek}.tokioto enabletokio::io::{AsyncRead, AsyncWrite, AsyncSeek}.
Examples
std::io::Read:
use ;
use Counter;
std::io::Write:
use ;
use Counter;