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 | |
16 | pub use driver::{parse_document, parse_fragment, ParseOpts, Parser}; |
17 | pub use markup5ever::*; |
18 | |
19 | pub use serialize::serialize; |
20 | |
21 | #[macro_use] |
22 | mod macros; |
23 | |
24 | mod util { |
25 | pub(crate) mod str; |
26 | } |
27 | |
28 | pub mod driver; |
29 | pub mod serialize; |
30 | pub mod tokenizer; |
31 | pub mod tree_builder; |
32 |