Skip to content

Conversation

@Huntragon
Copy link
Contributor

I've added an UnsanitizedFields new type that is used in the decode derive macro to lazily sanitize the attributes on enum struct variant fields.
I've also slightly modified the encode derive macro to filter out attributes when a struct is annotated with rasn(set), which generates an inner struct.
It also includes tests for this two cases, but this required adding serde as a dev-dependency, just so I had a derive macro with custom attributes that I could use as a test (and I picked serde since that is a commonly used crate).

@XAMPPRocky XAMPPRocky merged commit 16b245b into librasn:main Nov 19, 2025
44 checks passed
@github-actions github-actions bot mentioned this pull request Nov 19, 2025
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.

3 participants