Expand description
This library adds SerdeRead and SerdeWrite, both for std and tokio variants.
- std (only with the
stdflag):std_stream - tokio (only with the
tokioflag):tokio_stream
For both implementations, use the full flag.
It uses MessagePack (https://crates.io/crates/rmp-serde) for both serialization and deserialization.
Before sending the serialized data, it sends the amount of bytes that will be sent.
Modules§
- std_
stream std - SerdeRead and SerdeWrite implementations for std [
Read] and [Write] - tokio_
stream tokio - SerdeRead and SerdeWrite implementations for tokio [
AsyncReadExt] and [AsyncWriteExt]