Skip to content

Conversation

Lepidopteran
Copy link
Contributor

@Lepidopteran Lepidopteran commented Aug 2, 2025

Adds optional serde support for FileType, MimeType, PictureType, and TagType.

Let me know if I should remove/add some types.

Resolves #533 partially.

@Lepidopteran
Copy link
Contributor Author

Not sure how to deal with the clippy unsafe check :/

@Serial-ATA
Copy link
Owner

Sounds like a good lint in theory, but not helpful in this case. You can just #[allow] it

@Serial-ATA Serial-ATA added this to the 0.23.0 milestone Aug 2, 2025
Copy link
Contributor

@uklotzde uklotzde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Serial-ATA I tried to explain why I think this is a really bad idea. But it's your decision.

Too confusing, doesn't actually serialize to the actual MIME strings, just the enum variant names.
@Serial-ATA Serial-ATA merged commit 0668917 into Serial-ATA:main Aug 9, 2025
4 checks passed
@Lepidopteran Lepidopteran deleted the serde_support branch August 9, 2025 18:07
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.

Add optional support for serde serialization & de-serialization

3 participants