log railway build logs url, add CORS & CatchPanic middleware, tx session property, ws upgrade handler

This commit is contained in:
2024-12-23 12:43:40 -06:00
parent 54ddf4496c
commit c0e99b5f94
4 changed files with 151 additions and 27 deletions

View File

@@ -5,9 +5,11 @@ edition = "2021"
[dependencies]
chrono = { version = "0.4.39", features = ["serde"] }
futures-util = "0.3.31"
rand = "0.8.5"
salvo = { version = "0.74.3", features = ["affix-state", "logging", "serve-static"] }
salvo = { version = "0.74.3", features = ["affix-state", "catch-panic", "cors", "logging", "serve-static", "websocket"] }
serde = { version = "1.0.216", features = ["derive"] }
tokio = { version = "1", features = ["macros"] }
tokio-stream = "0.1.17"
tracing = "0.1"
tracing-subscriber = "0.3"