mirror of
https://github.com/zyllian/zyllian.github.io.git
synced 2025-05-10 02:26:45 -07: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}
|
futures = {version = "0.3", optional = true}
|
||||||
grass = {version = "0.13", default-features = false}
|
grass = {version = "0.13", default-features = false}
|
||||||
gray_matter = "0.2"
|
gray_matter = "0.2"
|
||||||
handlebars = "5"
|
handlebars = "6"
|
||||||
hotwatch = {version = "0.5", optional = true}
|
hotwatch = {version = "0.5", optional = true}
|
||||||
itertools = "0.13"
|
itertools = "0.13"
|
||||||
lol_html = "1"
|
lol_html = "2"
|
||||||
minifier = {version = "0.3", features = ["html"]}
|
minifier = {version = "0.3", features = ["html"]}
|
||||||
percent-encoding = {version = "2", optional = true}
|
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",
|
"simd",
|
||||||
"html",
|
"html",
|
||||||
]}
|
]}
|
||||||
rss = {version = "2", features = ["validation"]}
|
rss = {version = "2", features = ["validation"]}
|
||||||
serde = {version = "1", features = ["derive"]}
|
serde = {version = "1", features = ["derive"]}
|
||||||
serde_yml = "0.0.10"
|
serde_yml = "0.0.12"
|
||||||
time = {version = "0.3", features = ["serde-human-readable"]}
|
time = {version = "0.3", features = ["serde-human-readable"]}
|
||||||
tokio = {version = "1.10", features = [
|
tokio = {version = "1.10", features = [
|
||||||
"macros",
|
"macros",
|
||||||
|
|
|
@ -45,7 +45,7 @@ fn index(page: String, builder: &SiteBuilder) -> eyre::Result<String> {
|
||||||
Ok(lol_html::rewrite_str(
|
Ok(lol_html::rewrite_str(
|
||||||
&page,
|
&page,
|
||||||
RewriteStrSettings {
|
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);
|
el.append(&sidebar, lol_html::html_content::ContentType::Html);
|
||||||
Ok(())
|
Ok(())
|
||||||
})],
|
})],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue