Skip to content
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

Introduce DeserOpinions #100

Merged
merged 6 commits into from
Oct 20, 2024
Merged

Introduce DeserOpinions #100

merged 6 commits into from
Oct 20, 2024

Conversation

fasterthanlime
Copy link
Contributor

This tackles #89, ie. letting structs opt in/out of deny_unknown_fields, provide default for missing fields, and map key names (the equivalent of serde rename).

This will still be tedious until there's codegen, or a lot more macro things, but.. it's a start.

@fasterthanlime fasterthanlime added this pull request to the merge queue Oct 20, 2024
Merged via the queue into main with commit 22be5ed Oct 20, 2024
2 checks passed
@fasterthanlime fasterthanlime deleted the deser-flex branch October 20, 2024 14:14
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.

1 participant