update dependencies

This commit is contained in:
zyl 2024-10-23 19:57:01 -07:00
parent e20d28bc4d
commit f7c1e58b83
Signed by: zyl
SSH key fingerprint: SHA256:uxxbSXbdroP/OnKBGnEDk5q7EKB2razvstC/KmzdXXs
3 changed files with 337 additions and 251 deletions

578
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -11,19 +11,19 @@ fs_extra = "1.2"
futures = {version = "0.3", optional = true}
grass = {version = "0.13", default-features = false}
gray_matter = "0.2"
handlebars = "5"
handlebars = "6"
hotwatch = {version = "0.5", optional = true}
itertools = "0.13"
lol_html = "1"
lol_html = "2"
minifier = {version = "0.3", features = ["html"]}
percent-encoding = {version = "2", optional = true}
pulldown-cmark = {version = "0.11", default-features = false, features = [
pulldown-cmark = {version = "0.12", default-features = false, features = [
"simd",
"html",
]}
rss = {version = "2", features = ["validation"]}
serde = {version = "1", features = ["derive"]}
serde_yml = "0.0.10"
serde_yml = "0.0.12"
time = {version = "0.3", features = ["serde-human-readable"]}
tokio = {version = "1.10", features = [
"macros",

View file

@ -45,7 +45,7 @@ fn index(page: String, builder: &SiteBuilder) -> eyre::Result<String> {
Ok(lol_html::rewrite_str(
&page,
RewriteStrSettings {
element_content_handlers: vec![element!("#content", |el| {
element_content_handlers: vec![element!("#content", move |el| {
el.append(&sidebar, lol_html::html_content::ContentType::Html);
Ok(())
})],