#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

#2116 in Encoding

Download history 108/week @ 2024-03-15 112/week @ 2024-03-22 121/week @ 2024-03-29 91/week @ 2024-04-05 90/week @ 2024-04-12 94/week @ 2024-04-19 81/week @ 2024-04-26 79/week @ 2024-05-03 135/week @ 2024-05-10 127/week @ 2024-05-17 106/week @ 2024-05-24 131/week @ 2024-05-31 106/week @ 2024-06-07 122/week @ 2024-06-14 108/week @ 2024-06-21 31/week @ 2024-06-28

391 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