1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#![doc(html_root_url = "https://docs.rs/xmlparser/0.1.1")]
#![forbid(unsafe_code)]
#![warn(missing_docs)]
#[macro_use] extern crate log;
#[macro_use] extern crate error_chain;
mod error;
mod stream;
mod strspan;
mod text;
mod token;
mod xml;
mod xmlchar;
pub use error::{
Error,
ErrorKind,
ErrorPos,
};
pub use stream::{
Reference,
Stream,
StreamError,
StreamErrorKind,
};
pub use text::{
TextUnescape,
XmlSpace,
};
pub use strspan::{
StrSpan,
FromSpan,
};
pub use token::{
ElementEnd,
EntityDefinition,
ExternalId,
Token,
};
pub use xml::{
Tokenizer,
};
pub use xmlchar::{
XmlByteExt,
XmlCharExt,
};
pub use error_chain::ChainedError;