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

Custom XML serialize/deserialize derive macro #818

Closed
FlixCoder opened this issue Oct 9, 2024 · 1 comment
Closed

Custom XML serialize/deserialize derive macro #818

FlixCoder opened this issue Oct 9, 2024 · 1 comment
Labels
question serde Issues related to mapping from Rust types to XML

Comments

@FlixCoder
Copy link

Hi! First of all, thank you for the work and the library!

I am encountering the expected issues that arise when using serde with quick-xml:

The actual fix seems to be not to use serde. However, manually deserializing all the structs with quick-xml NsReader is quite a bit of effort. The idea would be to provide some kind of derive macro for this that supports more use cases for XML.

This is probably out of scope for this library right? Is there any known effort or recommendations for this? yaserde was a library that previously did this, but it is outdated and unmaintained.

Thanks!

@Mingun
Copy link
Collaborator

Mingun commented Oct 9, 2024

Yes, that library already exist and it is based on quick-xml! xmlserde.

@Mingun Mingun closed this as completed Oct 9, 2024
@Mingun Mingun added question serde Issues related to mapping from Rust types to XML labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question serde Issues related to mapping from Rust types to XML
Projects
None yet
Development

No branches or pull requests

2 participants