Utilities needed to easily implement a Tokio transport using serde for serialization and deserialization of frame values.
To use tokio-serde
, first add this to your Cargo.toml
:
[dependencies]
tokio-serde = "0.8"
Next, add this to your crate:
use tokio_serde::{Serializer, Deserializer, Framed};
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in iovec by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.