feat: web and websocket server

This commit is contained in:
Ahmet Kaan Gümüş 2025-04-27 05:52:58 +03:00
parent 1e27b9280e
commit 64e89b006a
4 changed files with 49 additions and 26 deletions

View file

@ -5,7 +5,9 @@ edition = "2024"
[dependencies]
tokio = { version = "1.42.1", default-features = false, features = ["macros", "rt-multi-thread"] }
fastwebsockets = "0.10.0"
axum = "0.8.3"
tower-http = { version = "0.6.2", default-features = false, features = ["cors"]}
fastwebsockets = { version = "0.10.0", features = ["upgrade", "with_axum"]}
serde = { workspace = true }
serde_json = { workspace = true }
chrono = { workspace = true }