Crate rapid_xml

Source
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§

de
Contains serde Deserializer build on top of Parser from parse.
parser
Contains low-level XML Parser.
tree
Contains XML tree serde Deserializer build on top of Parser from parse and Deserializer from de.

Macros§

xml_path
Macro for easier construction of XML path.
xml_path_type
Macro that expands to type ... = ... alias of XML path.