xml/lib.rs
1#![warn(missing_docs)]
2#![forbid(non_camel_case_types)]
3#![forbid(unsafe_code)]
4#![allow(clippy::redundant_closure_for_method_calls)]
5#![allow(clippy::module_name_repetitions)]
6
7//! This crate currently provides an almost XML 1.0/1.1-compliant pull parser.
8//!
9//! Please note that functions of this parser may panic.
10//! If a panic could cause a Denial Of Service in your codebase, *you're* responsible for wrapping access to this library in `catch_unwind`.
11
12#![cfg_attr(doctest, doc = include_str!("../README.md"))]
13
14pub use crate::reader::{EventReader, ParserConfig};
15pub use crate::util::Encoding;
16pub use crate::writer::{EmitterConfig, EventWriter};
17
18pub mod attribute;
19pub mod common;
20pub mod escape;
21#[doc(hidden)] // FIXME: not supposed to be public
22pub mod macros;
23pub mod name;
24pub mod namespace;
25pub mod reader;
26mod util;
27pub mod writer;