Warning
This project is a proof of concept and is not ready for actual use.
An asynchronous zero-fluff binary encoder / decoder
This is very similar to bincode however it has been designed from the ground up to work with Tokio's AsyncRead AsyncWrite traits. This allows it to perform better when used with TcpStream's than an equivalent bincode program.
Benchmarking is still in progress but so far I am seeing about a 3 times performance win over bincode when used over a TCP connection. Binario does and will likely will continue to loose on in-memory head to head performance due to the overhead of async.
It is highly recommended that you use Tokio's buffering utilities in conjunction with this crate to greatly improve performance. Refer to BufReader and BufWriter for more information.