countio-0.1.1 has been yanked.
xwde: countio
The wrapper struct to enable byte counting for std::io::Read and
std::io::Write and its asynchronous variants from futures and tokio
crates.
Warning : The library is in active development. Expect breaking changes.
Note : The library contains unsafe code. See implementation of
Async*traits for more details.
Following features available:
stdto enablestd::io::Readandstd::io::Write. Enabled by default.futuresto enablefutures_io::AsyncReadandfutures_io::AsyncWrite.tokioto enabletokio::io::AsyncReadandtokio::io::AsyncWrite.
std::io::Read:
use *;
use BufReader;
use Counter;
std::io::Write:
use *;
use BufWriter;
use Counter;