From dead23ea380ad5602430fc5398cdf5ec1bb3921c Mon Sep 17 00:00:00 2001 From: Martin Fischer <martin@push-f.com> Date: Thu, 8 Apr 2021 15:53:14 +0200 Subject: fix scope, add short module docstring --- src/lib.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3