aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-04-08 15:53:14 +0200
committerMartin Fischer <martin@push-f.com>2021-04-08 15:57:18 +0200
commitdead23ea380ad5602430fc5398cdf5ec1bb3921c (patch)
tree55c6c059ae4a9683a0b984154237f8730cbee2fd /src
parenteb0e8506472f2d672b00227bb07089c313484945 (diff)
fix scope, add short module docstringv0.1.0
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 40cbf8f..5e6a620 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -7,6 +7,11 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+/*!
+The HTML5 tokenizer from the [html5ever](https://crates.io/crates/html5ever)
+crate, repackaged with its dependencies removed.
+*/
+
#![crate_type = "dylib"]
#![cfg_attr(test, deny(warnings))]
#![allow(unused_parens)]
@@ -29,4 +34,7 @@ mod util {
pub mod smallcharset;
}
-pub mod tokenizer;
+mod tokenizer;
+
+#[doc(inline)]
+pub use tokenizer::*; \ No newline at end of file