Skip to content
/ xml Public
forked from serde-deprecated/xml

xml deserializer for rust-serde

License

Notifications You must be signed in to change notification settings

7phs/xml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Latest Version Clippy Linting Result

serde-xml

xml deserialization code for the serde crate

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.

About

xml deserializer for rust-serde

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%