refactor: rewrite entire codebase in axum instead of actix
Replaces actix with axum for web, allows us to use socket.io and gives us access to the tower ecosystem of middleware breaks compatibility with our current websocket implementation, needs to be reimplemented for socket.io
This commit is contained in:
parent
3647086adb
commit
324137ce8b
47 changed files with 1381 additions and 1129 deletions
17
Cargo.toml
17
Cargo.toml
|
@ -20,7 +20,6 @@ thiserror = "2.0.12"
|
|||
# CLI
|
||||
clap = { version = "4.5", features = ["derive"] }
|
||||
log = "0.4"
|
||||
simple_logger = "5.0.0"
|
||||
|
||||
# async
|
||||
futures = "0.3"
|
||||
|
@ -30,19 +29,21 @@ futures-util = "0.3.31"
|
|||
# Data (de)serialization
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
toml = "0.8"
|
||||
toml = "0.9"
|
||||
bytes = "1.10.1"
|
||||
rmpv = { version = "1.3.0", features = ["with-serde"] }
|
||||
|
||||
# File Storage
|
||||
bindet = "0.3.2"
|
||||
bunny-api-tokio = { version = "0.4", features = ["edge_storage"], default-features = false }
|
||||
|
||||
# Web Server
|
||||
actix-web = "4.11"
|
||||
actix-cors = "0.7.1"
|
||||
actix-ws = "0.3.0"
|
||||
actix-multipart = "0.7.2"
|
||||
axum = { version = "0.8.4", features = ["macros", "multipart"] }
|
||||
tower-http = { version = "0.6.6", features = ["cors"] }
|
||||
axum-extra = { version = "0.10.1", features = ["cookie", "typed-header"] }
|
||||
socketioxide = { version = "0.17.2", features = ["state"] }
|
||||
url = { version = "2.5", features = ["serde"] }
|
||||
tokio-tungstenite = { version = "0.27", features = ["native-tls", "url"] }
|
||||
time = "0.3.41"
|
||||
|
||||
# Database
|
||||
uuid = { version = "1.17", features = ["serde", "v7"] }
|
||||
|
@ -60,5 +61,5 @@ regex = "1.11"
|
|||
random-string = "1.1"
|
||||
lettre = { version = "0.11", features = ["tokio1", "tokio1-native-tls"] }
|
||||
chrono = { version = "0.4.41", features = ["serde"] }
|
||||
|
||||
tracing-subscriber = "0.3.19"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue