#serialization #json #serde-json #back-end #tokio #transport #dialectic

dialectic-tokio-serde-json

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

1 unstable release

0.1.0 Apr 1, 2021

#154 in #transport

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 serde_json crate.


lib.rs:

This crate provides an implementation of the json 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

~6–15MB
~156K SLoC