bkchr / tokio-serde-bincode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tokio / Serde bindings for bincode

Build Status

Utilities needed to easily implement a Tokio Bincode transport using serde for serialization and deserialization of frame values.

Documentation

Usage

To use tokio-serde-bincode, first add this to your Cargo.toml:

[dependencies]
tokio-serde-bincode = { git = "https://github.com/alexcrichton/tokio-serde-bincode" }

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.

About


Languages

Language:Rust 100.0%