Skip to content

support seeded deserialize for stream#1270

Open
conradludgate wants to merge 1 commit intoserde-rs:masterfrom
conradludgate:stream-deserialize-seed
Open

support seeded deserialize for stream#1270
conradludgate wants to merge 1 commit intoserde-rs:masterfrom
conradludgate:stream-deserialize-seed

Conversation

@conradludgate
Copy link
Contributor

closes #304.

Adds a new next_seed(seed: S) -> Option<Result<T>> API to StreamDeserializer.

I don't like that it still uses T, but besides duplicating the API I don't see a good way around that since removing the bound would be a breaking change. I don't consider it a major limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Support using DeserializeSeed with StreamDeserializer

1 participant