mod diff;
mod dom;
#[cfg(any(test, feature = "tracing"))]
mod shadow_tree_dump;
mod stem;
mod tracing_macros;
pub use cinereus::indextree::NodeId;
pub use diff::{
AttrPair, DiffError, HtmlNodeKind, HtmlProps, HtmlTreeTypes, InsertContent, NodePath, NodeRef,
Patch, PropChange, PropKey, diff, diff_html,
};
pub use dom::{Document, ElementData, Namespace, NodeData, NodeKind, parse, parse_body_fragment};
pub use html5ever::{LocalName, QualName, local_name, namespace_url, ns};
pub use stem::Stem;
pub use tendril::StrTendril;
const _: () = {
const fn assert_send<T: Send>() {}
const fn assert_sync<T: Sync>() {}
assert_send::<Document>();
assert_sync::<Document>();
};
fn _assert_document_covariant<'long, 'short>(x: Document<'long>) -> Document<'short>
where
'long: 'short,
{
x
}