#tokio #serde #bincode #stream #bytes

tokio-serde-bincode

Tokio bindings to quickly turn a stream of bytes to a stream of parsed/serialized items using the bincode format

4 releases

Uses old Rust 2015

0.2.1 Dec 3, 2018
0.2.0 Nov 28, 2018
0.1.1 Jun 24, 2017
0.1.0 Jun 22, 2017
Download history 2172/week @ 2021-08-18 1858/week @ 2021-08-25 1393/week @ 2021-09-01 1912/week @ 2021-09-08 1583/week @ 2021-09-15 1646/week @ 2021-09-22 1662/week @ 2021-09-29 2331/week @ 2021-10-06 2200/week @ 2021-10-13 2205/week @ 2021-10-20 5513/week @ 2021-10-27 3441/week @ 2021-11-03 2671/week @ 2021-11-10 3007/week @ 2021-11-17 3348/week @ 2021-11-24 2639/week @ 2021-12-01

12,190 downloads per month
Used in less than 6 crates

MIT/Apache

10KB
141 lines

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.

Dependencies

~1MB
~16K SLoC