serde_xml 0.6.0

xml support for rust-serde
docs.rs failed to build serde_xml-0.6.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: serde_xml-0.9.1

serde-xml

current state

  • xml to struct deserialization
  • deserialize bool, int, string from <anytagname>value</anythingelse>
  • deserialize sequences (tuple, array, vector) as struct member
  • deserialize escaped chars (&abcd;)
  • deserialize CDATA
  • deserialize enumerations
  • deserialize arrays of enumerations
  • deserialize errors instead of assertions
  • more deserialize tests
  • parse to dom tree
  • struct to xml serialization

anti-features

I'm currently ignoring quite some stuff that I don't know how to handle in another way

  • ignore namespaces
  • skip xml comments
  • skip xml version tag
  • ignoring xml-attributes

nice to have

  • xsd verification
  • sequences of sequences (how would these even look like in xml?)
  • attributes to collapse xml elements that only contain a single type of element.