trillium handler that rewrites html using lol-html and the [`lol_async`] library. this crate currently requires configuring the runtime, unfortunately. use one of the `"async-std"`, `"smol"`, or `"tokio"` features. do not use the default feature, it may change at any time. ``` use trillium_html_rewriter::{ html::{element, html_content::ContentType, Settings}, HtmlRewriter, }; let handler = ( |conn: trillium::Conn| async move { conn.with_header(("content-type", "text/html")) .with_status(200) .with_body("
body
") }, HtmlRewriter::new(|| Settings { element_content_handlers: vec![element!("body", |el| { el.prepend("body
"); # });