#type #session #channel #protocols #async #async-channel #back-end

dialectic-tokio-serde-bincode

A backend for the Dialectic crate using Bincode serialization over Tokio transport

1 unstable release

0.1.0 Apr 1, 2021

#42 in #async-channel

21 downloads per month
Used in dialectic

MIT license

175KB
2K SLoC

Rust license: MIT crates.io docs.rs documentation

A Tokio-compatible Dialectic backend plugin for the dialectic-tokio-serde crate. It can be used with any transport that supports Tokio's AsyncWrite/AsyncRead traits, and can send/receive any types which implement serde's Serialize/Deserialize traits. This backend serializes its data using the bincode format.


lib.rs:

This crate provides an implementation of the bincode serialization format compatible with the dialectic-tokio-serde backend for the dialectic crate. To use it, you will also need to import the dialectic-tokio-serde crate.

Dependencies

~7–14MB
~171K SLoC