#stream #bincode #tokio #byte-stream #format #bindings #serde

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

#1988 in Encoding

Download history 76/week @ 2024-01-15 94/week @ 2024-01-22 74/week @ 2024-01-29 85/week @ 2024-02-05 110/week @ 2024-02-12 129/week @ 2024-02-19 144/week @ 2024-02-26 118/week @ 2024-03-04 132/week @ 2024-03-11 101/week @ 2024-03-18 93/week @ 2024-03-25 137/week @ 2024-04-01 82/week @ 2024-04-08 92/week @ 2024-04-15 95/week @ 2024-04-22 75/week @ 2024-04-29

355 downloads per month
Used in 5 crates

MIT/Apache

11KB
141 lines

Tokio / Serde bindings for bincode

Build Status 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

~0.7–1MB
~21K SLoC