2 unstable releases
Uses old Rust 2015
0.2.0 | May 18, 2018 |
---|---|
0.1.0 | Feb 24, 2018 |
#28 in #msgpack
12KB
126 lines
Tokio / Serde bindings for MsgPack
Utilities needed to easily implement a Tokio MsgPack transport using serde for MsgPack serialization and deserialization of frame values.
Usage
To use tokio-serde-msgpack
, first add this to your Cargo.toml
:
[dependencies]
tokio-serde-msgpack = "0.1"
Next, add this to your crate:
extern crate tokio_serde_msgpack;
use tokio_serde_msgpack::{ReadMsgPack, WriteMsgPack};
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in sokio-serde-msgpack by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~0.9–1.3MB
~25K SLoC