Crate rapid_xml[][src]

Expand description

XML deserializer focused on speed and working with sequences in XML trees.

This library provides 3 ways of reading XML, each building on top of the previous one:

  • Parser: Low-level parser that quickly turns a stream of bytes from IO Read into a stream of events, such as “start tag”, “attribute name”, “attribute value”, “end tag”, …
  • Deserializer: Consumes events from Parser and constructs any type that is deserializable by serde.
  • TreeDeserializer: Deserializes sequences of (optionally nested) types from XML trees.

Modules

Contains serde Deserializer build on top of Parser from parse.

Contains low-level XML Parser.

Contains XML tree serde Deserializer build on top of Parser from parse and Deserializer from de.

Macros

Macro for easier construction of XML path.

Macro that expands to type ... = ... alias of XML path.