#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

#1972 in Encoding

Download history 84/week @ 2023-11-27 117/week @ 2023-12-04 91/week @ 2023-12-11 122/week @ 2023-12-18 70/week @ 2023-12-25 97/week @ 2024-01-01 67/week @ 2024-01-08 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 55/week @ 2024-03-11

464 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