1 | //#![warn(missing_doc)] |
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 | |
13 | #![cfg_attr (doctest, doc = include_str!("../README.md" ))] |
14 | |
15 | pub use crate::reader::EventReader; |
16 | pub use crate::reader::ParserConfig; |
17 | pub use crate::util::Encoding; |
18 | pub use crate::writer::EmitterConfig; |
19 | pub use crate::writer::EventWriter; |
20 | |
21 | pub mod attribute; |
22 | pub mod common; |
23 | pub mod escape; |
24 | #[doc (hidden)] // FIXME: not supposed to be public |
25 | pub mod macros; |
26 | pub mod name; |
27 | pub mod namespace; |
28 | pub mod reader; |
29 | mod util; |
30 | pub mod writer; |
31 | |