Skip to main content

millipede_html/
lib.rs

1#![doc = include_str!("../README.md")]
2
3mod extract;
4mod kind;
5mod selectors;
6
7pub use extract::HtmlLinkExtractor;
8pub use kind::{HtmlContext, HtmlCrawler, HtmlError, HtmlKind, HtmlKindBuilder, SynchronizedHtml};
9pub use scraper;
10
11/// Commonly used items from this crate.
12///
13/// The [`selectors!`](crate::selectors) macro and [`scraper`] re-export live at
14/// the crate root.
15pub mod prelude {
16    pub use crate::{
17        HtmlContext, HtmlCrawler, HtmlError, HtmlKind, HtmlKindBuilder, HtmlLinkExtractor,
18        SynchronizedHtml,
19    };
20}