sws_scraper/
lib.rs

1//! HTML parsing and querying with CSS selectors.
2//!
3//! Partial port of [scraper][] using [sws-tree][] which uses [`Rc`](std::rc::Rc)
4//! instead of references with lifetimes.
5//!
6//! [scraper]: https://crates.io/crates/scraper
7//! [sws-tree]: https://crates.io/crates/sws-tree
8
9#[macro_use]
10extern crate html5ever;
11
12pub mod element_ref;
13pub mod error;
14pub mod html;
15pub mod node;
16pub mod selector;
17
18pub use crate::element_ref::ElementRef;
19pub use crate::html::Html;
20pub use crate::node::Node;
21pub use crate::selector::Selector;
22
23pub use selectors::{attr::CaseSensitivity, Element};
24pub use tendril::StrTendril;