#serialization #bincode #tokio #format #bindings #deserialize #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

#2775 in Encoding

Download history 55/week @ 2025-08-18 66/week @ 2025-08-25 126/week @ 2025-09-01 87/week @ 2025-09-08 96/week @ 2025-09-15 149/week @ 2025-09-22 147/week @ 2025-09-29 76/week @ 2025-10-06 86/week @ 2025-10-13 110/week @ 2025-10-20 98/week @ 2025-10-27 148/week @ 2025-11-03 121/week @ 2025-11-10 148/week @ 2025-11-17 126/week @ 2025-11-24 118/week @ 2025-12-01

532 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.9–1.3MB
~24K SLoC