Skip to content

Help improve experience with untagged schemas #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 18, 2025

Conversation

epage
Copy link
Contributor

@epage epage commented Sep 5, 2023

I expect a lot of users are like me and just assume their code is fast enough. It wasn't until I had to do more explicit benchmarks that I found out how slow untagged is. The hope is to make this more discoverable for others along with an easier / less intimidating way of improving performacne via serde-untagged. See also serde-rs/serde#2101

Similarly, errors can be bad and expecting wasn't documented until #153. This also adds cross-linking to make this attribute more discoverable.

@epage
Copy link
Contributor Author

epage commented May 15, 2025

@oli-obk its rebased

@oli-obk oli-obk merged commit 3668e63 into serde-rs:master May 18, 2025
2 checks passed
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.

2 participants