Crates.io | serde_builder |
lib.rs | serde_builder |
version | 0.2.0 |
source | src |
created_at | 2023-07-12 13:39:36.426832 |
updated_at | 2023-07-14 17:05:08.969466 |
description | serde extension to build de/serialization algorithms for types using a builder pattern |
homepage | |
repository | https://github.com/JohnTheCoolingFan/serde_builder |
max_upload_size | |
id | 914515 |
size | 33,620 |
An add-on to serde that aims to provide an alternative to derive using a builder pattern instead
At the time this is a proof of concept. To see how the usage looks, run simple_de
and simple_ser
examples and look at their code. Additionally, you can check the documentation on docs.rs to see the api fully
Theoretically, deserialization may fail due to wrong field names being provided to deserializer. If this happens, enable leaking
feature, which supplies correct field names at expense of leaking memory through Box::leak