bearcove / merde

Data (de)serialization via declarative macros
Apache License 2.0
102 stars 5 forks source link

Start thinking about streaming deserialization #105

Open fasterthanlime opened 3 weeks ago

fasterthanlime commented 3 weeks ago

both from_read and from_async_read — I think we can actually do both!

(neither of these would be able to borrow, but that's fine).

fasterthanlime commented 2 weeks ago

This will likely have to wait for N+2? Changing the JSON/YAML/MessagePack deserializers so they can operate from "not-a-slice" is kind of annoying, most likely.

...but N+1 will have "streaming serialization", so that's nice.