1#![deny(missing_docs)]
8
9#[macro_use]
10extern crate html5ever;
11
12mod attributes;
13mod cell_extras;
14pub mod iter;
15mod node_data_ref;
16mod parser;
17mod select;
18mod serializer;
19#[cfg(test)]
20mod tests;
21mod tree;
22
23pub use attributes::{Attribute, Attributes, ExpandedName};
24pub use node_data_ref::NodeDataRef;
25pub use parser::{parse_fragment, parse_html, parse_html_with_options, ParseOpts, Sink};
26pub use select::{Selector, SelectorCache, Selectors, Specificity};
27pub use tree::{Doctype, DocumentData, ElementData, Node, NodeData, NodeRef};
28
29pub mod traits {
36 pub use crate::iter::{ElementIterator, NodeIterator};
37 pub use html5ever::tendril::TendrilSink;
38}