Expand description
This library adds SerdeRead and SerdeWrite, both for std
and tokio
variants.
- std (only with the
std
flag):std_stream
- tokio (only with the
tokio
flag):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 - SerdeRead and SerdeWrite implementations for std [
Read
] and [Write
] - tokio_
stream - SerdeRead and SerdeWrite implementations for tokio [
AsyncReadExt
] and [AsyncWriteExt
]