aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: 7945a3bcbad20422d5b4eef4d93317da630d14e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#![deny(missing_docs)]
// This is an HTML parser. HTML can be untrusted input from the internet.
#![forbid(unsafe_code)]
#![doc = include_str!("../README.md")]

mod emitter;
mod entities;
mod error;
mod machine;
mod never;
mod reader;
pub mod spans;
mod tokenizer;
mod utils;

#[cfg(feature = "integration-tests")]
pub use utils::State as InternalState;

pub use emitter::{Attribute, DefaultEmitter, Doctype, Emitter, EndTag, StartTag, Token};
pub use error::Error;
pub use never::Never;
pub use reader::{BufReadReader, IntoReader, Reader, StringReader};
pub use tokenizer::{InfallibleTokenizer, State, Tokenizer};