#bincode #stream #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

#2204 in Encoding

Download history 101/week @ 2024-07-20 134/week @ 2024-07-27 60/week @ 2024-08-03 101/week @ 2024-08-10 79/week @ 2024-08-17 104/week @ 2024-08-24 111/week @ 2024-08-31 97/week @ 2024-09-07 87/week @ 2024-09-14 111/week @ 2024-09-21 95/week @ 2024-09-28 84/week @ 2024-10-05 89/week @ 2024-10-12 80/week @ 2024-10-19 120/week @ 2024-10-26 133/week @ 2024-11-02

444 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