serde_stream

Crates.ioserde_stream
lib.rsserde_stream
version1.0.1
sourcesrc
created_at2023-07-16 00:59:00.697585
updated_at2023-07-16 16:32:38.277868
descriptionAdds serde serialization and deserialization functionality to streams.
homepage
repositoryhttps://github.com/DomiRusz24/serde_stream
max_upload_size
id917512
size44,094
(DomiRusz24)

documentation

README

Send objects through streams

This library adds SerdeRead and SerdeWrite, traits that allow you to quickly send serializable enums and structs over streams, both for std and tokio variants.

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.

Commit count: 5

cargo fmt