mirror of
https://github.com/zyllian/zyllian.github.io.git
synced 2025-01-17 19:22:30 -08:00
update dependencies
This commit is contained in:
parent
e20d28bc4d
commit
f7c1e58b83
3 changed files with 337 additions and 251 deletions
578
Cargo.lock
generated
578
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -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",
|
||||
|
|
|
@ -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(())
|
||||
})],
|
||||
|
|
Loading…
Add table
Reference in a new issue