rapid_xml/
lib.rs

1//! XML deserializer focused on speed and working with sequences in XML trees.
2//!
3//! This library provides 3 ways of reading XML, each building on top of the previous one:
4//!
5//! * `Parser`: Low-level parser that quickly turns a stream of bytes from IO `Read` into a stream
6//!             of  events, such as "start tag", "attribute name", "attribute value", "end tag", ...
7//! * `Deserializer`: Consumes events from `Parser` and constructs any type that is deserializable
8//!                   by serde.
9//! * `TreeDeserializer`: Deserializes sequences of (optionally nested) types from XML trees.
10
11#![warn(missing_docs)]
12
13#![cfg_attr(feature = "bencher", feature(test))]
14#[cfg(feature = "bencher")]
15extern crate test;
16
17pub mod de;
18pub mod tree;
19pub mod parser;