mitsuhiko / deser

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

Remove MapSink and SeqSink #15

Closed mitsuhiko closed 2 years ago

mitsuhiko commented 2 years ago

This removes MapSink and SeqSink. With this change some new patterns become possible and the cognitive overhead of the API gets slightly reduced.

Additionally descriptors are now always available on deserialization and finish is called on all values on the sink.

Fixes #14