aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2022-12-28 12:14:08 -0500
committerXe Iaso <me@christine.website>2022-12-28 12:14:08 -0500
commitb292f3830e43830308ebd8e8d17ab38e9ed2461b (patch)
tree951d70bbdbc1592d1984d322bec9cdbaaf558d59 /lib
parent3299a4fa2a58ba07b182b9f169493ba33dfbd6bb (diff)
downloadxesite-b292f3830e43830308ebd8e8d17ab38e9ed2461b.tar.xz
xesite-b292f3830e43830308ebd8e8d17ab38e9ed2461b.zip
Update to axum 0.6
Closes #579 Closes #580 Signed-off-by: Xe <me@christine.website>
Diffstat (limited to 'lib')
-rw-r--r--lib/xesite_markdown/Cargo.toml8
-rw-r--r--lib/xesite_templates/Cargo.toml8
-rw-r--r--lib/xesite_templates/src/lib.rs2
3 files changed, 13 insertions, 5 deletions
diff --git a/lib/xesite_markdown/Cargo.toml b/lib/xesite_markdown/Cargo.toml
index 8d82a73..0494f16 100644
--- a/lib/xesite_markdown/Cargo.toml
+++ b/lib/xesite_markdown/Cargo.toml
@@ -11,7 +11,6 @@ comrak = "0.15.0"
hex = "0.4"
lazy_static = "1.4"
lol_html = "0.3"
-maud = "0.24.0"
sha2 = "0.10"
serde_json = "1"
thiserror = "1"
@@ -20,4 +19,9 @@ url = "2"
# local deps
xesite_templates = { path = "../xesite_templates" }
-xesite_types = { path = "../xesite_types" } \ No newline at end of file
+xesite_types = { path = "../xesite_types" }
+
+[dependencies.maud]
+git = "https://github.com/Xe/maud"
+rev = "a40596c42c7603cc4610bbeddea04c4bd8b312d9"
+features = ["axum"]
diff --git a/lib/xesite_templates/Cargo.toml b/lib/xesite_templates/Cargo.toml
index 9aa9fad..fc852b0 100644
--- a/lib/xesite_templates/Cargo.toml
+++ b/lib/xesite_templates/Cargo.toml
@@ -6,7 +6,11 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-maud = "0.24.0"
uuid = { version = "1", features = [ "v4" ] }
-xesite_types = { path = "../xesite_types" } \ No newline at end of file
+xesite_types = { path = "../xesite_types" }
+
+[dependencies.maud]
+git = "https://github.com/Xe/maud"
+rev = "a40596c42c7603cc4610bbeddea04c4bd8b312d9"
+features = ["axum"] \ No newline at end of file
diff --git a/lib/xesite_templates/src/lib.rs b/lib/xesite_templates/src/lib.rs
index 1149aaa..c2e3106 100644
--- a/lib/xesite_templates/src/lib.rs
+++ b/lib/xesite_templates/src/lib.rs
@@ -6,7 +6,7 @@ pub fn talk_warning() -> Markup {
div.warning {
(conv("Cadey".to_string(), "coffee".to_string(), html!{
"So you are aware: you are reading the written version of a conference talk. This is written in a different style that is more lighthearted, conversational and different than the content normally on this blog. The words being said are the verbatim words that were spoken at the conference. The slides are the literal slides for each spoken utterance. If you want to hide the non-essential slides, please install this userstyle: "
- a href="/css/no-fun-allowed.user.css" {code {"No fun allowed"}}
+ a href="/static/css/no-fun-allowed.user.css" {code {"No fun allowed"}}
". If this isn't enough, please edit it to also hide this CSS class: "
code { "xeblog-slides-essential" }
". Doing this may make the presentation page harder to understand."