Crates.io | tokio-serde-bincode |
lib.rs | tokio-serde-bincode |
version | 0.2.1 |
source | src |
created_at | 2017-06-22 03:03:10.424005 |
updated_at | 2018-12-03 18:38:00.307828 |
description | Tokio bindings to quickly turn a stream of bytes to a stream of parsed/serialized items using the bincode format. |
homepage | https://github.com/luben/tokio-serde-bincode |
repository | https://github.com/luben/tokio-serde-bincode |
max_upload_size | |
id | 20111 |
size | 13,673 |
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
:
[dependencies]
tokio-serde-bincode = "0.2"
Next, add this to your crate:
extern crate tokio_serde_bincode;
use tokio_serde_bincode::{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.