mirror of
https://github.com/RGBCube/GDUS
synced 2025-07-27 04:57:45 +00:00
Remove embd as that doesn't work rn
This commit is contained in:
parent
dccc0e871e
commit
0cd9a02a6d
3 changed files with 268 additions and 282 deletions
543
server/Cargo.lock
generated
543
server/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -11,10 +11,9 @@ edition = "2021"
|
|||
actix-cors = "0.6.5"
|
||||
actix-web = "4.4.0"
|
||||
chrono = "0.4.31"
|
||||
embd = "0.1.1"
|
||||
maud = { version = "0.25.0", features = [ "actix-web" ] }
|
||||
serde = { version = "1.0.192", features = [ "derive" ] }
|
||||
sqlx = { version = "0.7.3", features = [ "chrono", "sqlite", "runtime-tokio" ] }
|
||||
sqlx = { version = "0.7.4", features = [ "chrono", "sqlite", "runtime-tokio" ] }
|
||||
tokio = { version = "1.34.0", features = [ "full" ] }
|
||||
|
||||
[profile.dev]
|
||||
|
|
|
@ -49,7 +49,7 @@ async fn view(data: Data<SqlitePool>) -> web::Result<Markup> {
|
|||
(DOCTYPE)
|
||||
|
||||
style {
|
||||
(PreEscaped(embd::string!("view.css")))
|
||||
(PreEscaped(include_str!("view.css")))
|
||||
}
|
||||
|
||||
ul id="reminders" {
|
||||
|
@ -64,7 +64,7 @@ async fn view(data: Data<SqlitePool>) -> web::Result<Markup> {
|
|||
.clock {}
|
||||
|
||||
script {
|
||||
(PreEscaped(embd::string!("alert.js")))
|
||||
(PreEscaped(include_str!("alert.js")))
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue