Crates.io | tokio-serde |
lib.rs | tokio-serde |
version | 0.9.0 |
source | src |
created_at | 2017-03-14 00:14:15.177122 |
updated_at | 2024-02-04 08:39:25.303091 |
description | Send and receive Serde encodable types over the network using Tokio. This library is used as a building block for serialization format specific libraries. |
homepage | https://github.com/carllerche/tokio-serde |
repository | https://github.com/carllerche/tokio-serde |
max_upload_size | |
id | 8966 |
size | 56,201 |
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.9"
Next, add this to your crate:
use tokio_serde::{Serializer, Deserializer, Framed};
This project is licensed under either of
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.