html5ever/
lib.rs

1// Copyright 2014-2017 The html5ever Project Developers. See the
2// COPYRIGHT file at the top-level directory of this distribution.
3//
4// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
5// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
7// option. This file may not be copied, modified, or distributed
8// except according to those terms.
9
10#![crate_name = "html5ever"]
11#![crate_type = "dylib"]
12#![cfg_attr(test, deny(warnings))]
13#![allow(unused_parens)]
14#![warn(unreachable_pub)]
15
16pub use driver::{parse_document, parse_fragment, ParseOpts, Parser};
17pub use markup5ever::*;
18
19pub use serialize::serialize;
20
21mod util {
22    pub(crate) mod str;
23}
24
25pub(crate) mod macros;
26
27pub mod driver;
28pub mod serialize;
29pub mod tokenizer;
30pub mod tree_builder;