Parse HTML into a typed tree, then search for tags, attributes, classes, filter out comments or find and extract the exact data you want with a short builder pattern - zero dependencies, zero overhead
#![doc=include_str!("../README.md")]moderrors;modfilter;modparse;modtypes;pubusecrate::filter::types::Filter;pubusecrate::types::html::Html;pubusecrate::types::tag::{Attribute, Tag};/// A const equivalent of the [`Option::unwrap_or`] method.
constfnunwrap_or(opt:Option<bool>, default:bool)->bool{match opt {Some(val)=> val,None=> default,}}