This commit is contained in:
2026-02-21 10:39:52 +01:00
parent f7c975a3f0
commit 66c1fe0025
38 changed files with 1543 additions and 616 deletions

View File

@@ -2,6 +2,7 @@
name = "ox_speak_server"
version = "0.1.0"
edition = "2024"
build = "build.rs"
[lib]
# The `_lib` suffix may seem redundant but it is necessary
@@ -34,13 +35,13 @@ opt-level = 3 # Optimisation maximale pour la vitesse
[dependencies]
# Async
tokio = {version = "1.48", features = ["full"]}
tokio = { version = "1.49", features = ["full"] }
# HTTP
#actix-web = "4.12"
#poem = "3.1"
#poem-openapi = { version="5.1", features = ["swagger-ui", "url", "chrono"]}
axum = { version = "0.8", features = ["macros", "ws"] }
axum = { version = "0.8.8", features = ["macros", "ws"] }
#utoipa = "5.4"
#utoipa-swagger-ui = { version = "9.0", features = ["axum"] }
#tower = "0.5"
@@ -50,20 +51,24 @@ tower-http = { version = "0.6", features = ["trace", "cors", "timeout"] }
socket2 = "0.6"
# db
sea-orm = { version = "2.0.0-rc", features = ["sqlx-sqlite", "sqlx-postgres", "sqlx-mysql", "runtime-tokio", "with-chrono", "with-uuid", "with-json", "schema-sync"] }
sea-orm = { version = "2.0.0-rc.30", features = ["sqlx-sqlite", "sqlx-postgres", "sqlx-mysql", "runtime-tokio", "with-chrono", "with-uuid", "with-json", "schema-sync"] }
migration = { path = "migration" }
# logs
log = "0.4.28"
log = "0.4"
env_logger = "0.11.8"
# utils
chrono = "0.4"
chrono = "0.4.43"
parking_lot = "0.12"
serde = { version = "1.0", features = ["default", "derive"] }
serde_json = { version = "1.0.145", features = ["default"]}
serde_json = { version = "1.0.149", features = ["default"] }
serde_repr = "0.1"
toml = "0.9"
toml = "0.9.8"
validator = { version = "0.20", features = ["derive"] }
uuid = {version = "1", features = ["v4", "v7", "fast-rng", "serde"]}
uuid = { version = "1.20", features = ["v4", "v7", "fast-rng", "serde"] }
futures-util = "0.3"
rand = "0.9"
ssh-key = { version = "0.6", features = ["default", "crypto"] }
base64 = "0.22"
argon2 = "0.5.3"