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