Ingvar Stepanyan
Ingvar Stepanyan
@oli-obk I'm afraid that's not correct, serde-xml-rs currently implements only deserialization. There was some unfinished attempt in a PR, but that's it for now.
Just FWIW, I've implemented own Serde 0.9 compatible deserializer with support for enums, collections of enums, and other features this deserializer lacked for me here https://github.com/RReverser/serde-xml-rs
@oli-obk Sure, I can copy-paste your tests to my repo if that's okay with you.
@dtolnay At the moment I'm seeing quite a bit failed tests from actual serde_xml, when I'll have time, I'd like to fix them before making any further decisions, but will...
@oli-obk Sure. For example, tuple/unit failures are valid, and I'm working on improving their support, but I don't want, for example, to allow parsing primitives from `primitive`, as that's not...
@indiv0 Yes, because for Rust `type` is just a transparent alias - when you use it, it's not even a wrapper, but exactly as if you would write `String` there...
@indiv0 Sure, please do.
@oli-obk @dtolnay Looks like I don't have much time to evolve serde-xml-rs as I don't do anything related to XML parsing which motivated me to create it in the first...
Sounds good. Should we move repo over as well?
@oli-obk Could you elaborate a bit more on how they're weird? E.g. I have following snippet: ``` == state->quote ``` And I want `Action(Vec)` to parse each element as enum...