Skip to content

Conversation

@AdamGS
Copy link

@AdamGS AdamGS commented Oct 7, 2025

Using the newly released serde_core seems to have significant benefit for compile times, pbjson is the main user left in Datafusion.

This is a breaking change, as it generates different code (serde_core:: instead of serde::), and also significantly moves up the required serde/serde_core versions.

There is one #[derive(Deserialize)] which I couldn't figure out yet, but I figured its worth opening this PR for early feedback.

@AdamGS
Copy link
Author

AdamGS commented Oct 14, 2025

Seems like reproducing the auto-generated code requires something like serde-content, would that be an acceptable addition here?

@crepererum
Copy link
Contributor

Seems like reproducing the auto-generated code requires something like serde-content, would that be an acceptable addition here?

Can you elaborate why this is required? I'm failing to see the reason for that 😅

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants