Utilities needed to easily implement a Tokio [Bincode] transport using [serde] for serialization and deserialization of frame values. Based on [tokio-serde].
To use tokio-serde-bincode
, first add this to your Cargo.toml
:
toml
[dependencies]
tokio-serde-bincode = "0.2"
Next, add this to your crate:
```rust extern crate tokioserdebincode;
use tokioserdebincode::{ReadBincode, WriteBincode}; ```
tokio-serde-bincode
is primarily distributed under the terms of both the MIT
license and the Apache License (Version 2.0), with portions covered by various
BSD-like licenses.
See LICENSE-APACHE, and LICENSE-MIT for details.