flash-mockstream crates.io

A mockstream that implements std::io::Read, std::io::Write, tokioio::AsyncRead and tokioio::AsyncWrite.

It writes and reads from the same buffer so you can write from one end and read from other end;

See tests folder for examples.