Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Serde integration? #35

Open
jonas-schievink opened this issue Jan 15, 2018 · 4 comments
Open

Serde integration? #35

jonas-schievink opened this issue Jan 15, 2018 · 4 comments

Comments

@jonas-schievink
Copy link
Owner

It should be possible, at least in some cases, to automatically (de-)serialize data from/to the XMLRPC format. This would be pretty cool to have. Investigate and prototype!

@jonas-schievink
Copy link
Owner Author

jonas-schievink referenced this issue in mseri/xapirpc-rs Mar 1, 2018
Signed-off-by: Marcello Seri <[email protected]>
@jonas-schievink
Copy link
Owner Author

Initial work on this is being done on the serde branch. It supports passing arbitrary types as arguments if they implement Serialize, but requires breaking changes to be nicely integrated.

@xmo-odoo
Copy link

xmo-odoo commented Jul 7, 2018

That could even be a separate crate on which this one would depend (e.g. serde-xmlrpc which would only handle the data transcoding), with this crate implementing the networkey bits?

https://github.com/RReverser/serde-xml-rs but it seems to be doing its own custom thing rather than implementing a "standard" XML serialisation dialect.

@jonas-schievink
Copy link
Owner Author

Correct, this could be implemented outside this crate. I'm currently not seeing too many reasons to do that, though. The current way it's implemented in the serde branch means that it's an internal detail of this crate and doesn't need a large and well thought-out API.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants