| Crates.io | serde_stream |
| lib.rs | serde_stream |
| version | 1.0.1 |
| created_at | 2023-07-16 00:59:00.697585+00 |
| updated_at | 2023-07-16 16:32:38.277868+00 |
| description | Adds serde serialization and deserialization functionality to streams. |
| homepage | |
| repository | https://github.com/DomiRusz24/serde_stream |
| max_upload_size | |
| id | 917512 |
| size | 44,094 |
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.