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

Create a unified macro to derive all the encodable traits #50

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

einarmo
Copy link
Contributor

@einarmo einarmo commented Feb 28, 2025

The derives are getting very verbose, which is especially bad for users that want to create their own custom structs. This adds an attribute macro that simply derives these traits as appropriate.

I also found an issue with the XML parsing and custom codegen that required an unpleasant workaround.

The derives are getting very verbose, which is especially bad for users
that want to create their own custom structs. This adds an attribute macro that
simply derives these traits as appropriate.

I also found an issue with the XML parsing and custom codegen that
required an unpleasant workaround.
@einarmo einarmo force-pushed the super-encodable-macro branch from fb69c9b to 815a87b Compare February 28, 2025 08:22
@einarmo einarmo merged commit 0731241 into master Feb 28, 2025
6 checks passed
@einarmo einarmo deleted the super-encodable-macro branch February 28, 2025 08:51
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