Skip to content

Support serde_spanned::Spanned<T> deserialization#248

Open
gnosek wants to merge 1 commit intojamesmunns:mainfrom
gnosek:spanned
Open

Support serde_spanned::Spanned<T> deserialization#248
gnosek wants to merge 1 commit intojamesmunns:mainfrom
gnosek:spanned

Conversation

@gnosek
Copy link

@gnosek gnosek commented Jun 23, 2025

Provide deserialization of serde_spanned::Spanned, which tracks the position of the value in the original serialized buffer.

(on serialization, the span data is ignored and only the inner T is serialized)

Note: I'm not particularly fond of reusing the original tests for testing spans, but I felt this is better than duplicating a large portion of the deserializer tests. Please let me know what you think.

@netlify
Copy link

netlify bot commented Jun 23, 2025

Deploy Preview for cute-starship-2d9c9b canceled.

Name Link
🔨 Latest commit 8f8e811
🔍 Latest deploy log https://app.netlify.com/projects/cute-starship-2d9c9b/deploys/685c54d98336c600095581e3

@jamesmunns
Copy link
Owner

I may not get to this until I've worked through the core bits of #241, just as a heads up! I'm catching up on things after being busy for a while.

@jamesmunns jamesmunns added the Q2 '25 Triage Items tracked as part of https://github.com/jamesmunns/postcard/issues/241 label Jun 25, 2025
@gnosek
Copy link
Author

gnosek commented Jun 25, 2025

No worries, I'll try to keep up with the merge conflicts :)

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

Labels

Q2 '25 Triage Items tracked as part of https://github.com/jamesmunns/postcard/issues/241

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants