| 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 | |
| 14 | pub use crate::reader::{EventReader, ParserConfig}; |
| 15 | pub use crate::util::Encoding; |
| 16 | pub use crate::writer::{EmitterConfig, EventWriter}; |
| 17 | |
| 18 | pub mod attribute; |
| 19 | pub mod common; |
| 20 | pub mod escape; |
| 21 | #[doc (hidden)] // FIXME: not supposed to be public |
| 22 | pub mod macros; |
| 23 | pub mod name; |
| 24 | pub mod namespace; |
| 25 | pub mod reader; |
| 26 | mod util; |
| 27 | pub mod writer; |
| 28 | |