serde_builder 0.1.1

serde extension to build de/serialization algorithms for types using a builder pattern
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# serde_builder
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_case` example and look at its code. It doesn't use all the functionality, I hastily put it together to test if this even works and provide and example of usage.

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`

### TODO list:
- Serialization
- Enum de/serialization
- Transformations along with checks
- Defaults dependent on other values
- Become on-par in customizability with serde derive