1
Fork 0
mirror of https://github.com/RGBCube/GDUS synced 2025-07-29 14:07:52 +00:00

Update deps

This commit is contained in:
RGBCube 2024-05-11 13:51:22 +03:00
parent 74d84115c2
commit dccc0e871e
No known key found for this signature in database
3 changed files with 16 additions and 16 deletions

23
server/Cargo.lock generated
View file

@ -571,17 +571,19 @@ dependencies = [
] ]
[[package]] [[package]]
name = "embed" name = "embd"
version = "0.1.0" version = "0.1.1"
source = "git+https://github.com/RGBCube/embed-rs#7c2eb614db7947d5f12c02685c97404729e98acd" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73f44bd5e4300f535cebd9949a5d76f413ce2c2fe4f454bbfc854c3b53d70f16"
dependencies = [ dependencies = [
"embed-macros", "embd-macros",
] ]
[[package]] [[package]]
name = "embed-macros" name = "embd-macros"
version = "0.1.0" version = "0.1.1"
source = "git+https://github.com/RGBCube/embed-rs#7c2eb614db7947d5f12c02685c97404729e98acd" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d8aff0b18a634834d77cf70effb2ee3f5ab2b4f36f1caa7fabe213ac7767b0f"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -757,7 +759,7 @@ dependencies = [
"actix-cors", "actix-cors",
"actix-web", "actix-web",
"chrono", "chrono",
"embed", "embd",
"maud", "maud",
"serde", "serde",
"sqlx", "sqlx",
@ -1341,8 +1343,9 @@ dependencies = [
[[package]] [[package]]
name = "proc-macro2" name = "proc-macro2"
version = "1.0.75" version = "1.0.82"
source = "git+https://github.com/RGBCube/proc-macro2#e1713f29a5488360d96178081ac0fca3d4abdb8a" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b"
dependencies = [ dependencies = [
"unicode-ident", "unicode-ident",
] ]

View file

@ -11,14 +11,11 @@ edition = "2021"
actix-cors = "0.6.5" actix-cors = "0.6.5"
actix-web = "4.4.0" actix-web = "4.4.0"
chrono = "0.4.31" chrono = "0.4.31"
embed = { git = "https://github.com/RGBCube/embed-rs" } embd = "0.1.1"
maud = { version = "0.25.0", features = [ "actix-web" ] } maud = { version = "0.25.0", features = [ "actix-web" ] }
serde = { version = "1.0.192", features = [ "derive" ] } serde = { version = "1.0.192", features = [ "derive" ] }
sqlx = { version = "0.7.3", features = [ "chrono", "sqlite", "runtime-tokio" ] } sqlx = { version = "0.7.3", features = [ "chrono", "sqlite", "runtime-tokio" ] }
tokio = { version = "1.34.0", features = [ "full" ] } tokio = { version = "1.34.0", features = [ "full" ] }
[patch.crates-io]
proc-macro2 = { git = "https://github.com/RGBCube/proc-macro2" }
[profile.dev] [profile.dev]
incremental = true incremental = true

View file

@ -49,7 +49,7 @@ async fn view(data: Data<SqlitePool>) -> web::Result<Markup> {
(DOCTYPE) (DOCTYPE)
style { style {
(PreEscaped(embed::string!("view.css"))) (PreEscaped(embd::string!("view.css")))
} }
ul id="reminders" { ul id="reminders" {
@ -64,7 +64,7 @@ async fn view(data: Data<SqlitePool>) -> web::Result<Markup> {
.clock {} .clock {}
script { script {
(PreEscaped(embed::string!("alert.js"))) (PreEscaped(embd::string!("alert.js")))
} }
}) })
} }