mitsuhiko / deser

Experimental rust serialization library
https://docs.rs/deser
Apache License 2.0
287 stars 8 forks source link

Enable Default Optionals in Deserialization #35

Closed mitsuhiko closed 2 years ago

mitsuhiko commented 2 years ago

Currently optionals on deserialization are only optional if #[deser(default)] is set. This is unexpected coming from serde. This should probably be changed and a separate flag could be provided if this is not intended.