tokio-serde-bincode

Crates.iotokio-serde-bincode
lib.rstokio-serde-bincode
version0.2.1
sourcesrc
created_at2017-06-22 03:03:10.424005
updated_at2018-12-03 18:38:00.307828
descriptionTokio bindings to quickly turn a stream of bytes to a stream of parsed/serialized items using the bincode format.
homepagehttps://github.com/luben/tokio-serde-bincode
repositoryhttps://github.com/luben/tokio-serde-bincode
max_upload_size
id20111
size13,673
luben karavelov (luben)

documentation

https://docs.rs/tokio-serde-bincode

README

Tokio / Serde bindings for bincode

Build Status crates.io Docs

Utilities needed to easily implement a Tokio Bincode transport using serde for serialization and deserialization of frame values. Based on tokio-serde.

Usage

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};

License

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.

Commit count: 25

cargo fmt