ref: 51e8c763b4b3a8c05a34ea31757fda951f802d1c serde_bare/src/de.rs -rw-r--r-- 17.5 KiB
Clarify some allowed behaviour to allow varint deserialization

Since custom functions can't be used in Deserialize implementations,
we have to use some existing functions in special ways.
Fix char support

Previously, this would call the visitor's u32 functions.
Remove useless closures
Add i128/u128 support using data<16>
Add a few deserialization tests
Improve documentation
Add sanity checks for tuple deserialization
Clean up some repeated deserialization code
Add explicit i128 errors