6 releases
0.2.5 | Jun 20, 2024 |
---|---|
0.2.4 | Nov 8, 2021 |
0.2.3 | Nov 17, 2020 |
0.2.1 | Oct 19, 2020 |
#2728 in Parser implementations
155KB
3K
SLoC
Rapid XML
Rapid XML is library for parsing XML. It focuses on performance and deserialization with serde.
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 IORead
into a stream of events, such as "start tag", "attribute name", "attribute value", "end tag", ...Deserializer
: Consumes events fromParser
and constructs any type that is deserializable by serde.TreeDeserializer
: Deserializes sequences of (optionally nested) types from XML trees.
lib.rs
:
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 IORead
into a stream of events, such as "start tag", "attribute name", "attribute value", "end tag", ...Deserializer
: Consumes events fromParser
and constructs any type that is deserializable by serde.TreeDeserializer
: Deserializes sequences of (optionally nested) types from XML trees.
Dependencies
~2–2.9MB
~59K SLoC