diff --git a/veza-chat-server/Cargo.toml b/veza-chat-server/Cargo.toml index 5d83cfb7b..c895419da 100644 --- a/veza-chat-server/Cargo.toml +++ b/veza-chat-server/Cargo.toml @@ -40,7 +40,7 @@ axum = { version = "0.8", features = ["macros", "ws"] } # Framework web moderne # ═══════════════════════════════════════════════════════════════════════ # BASE DE DONNÉES ET CACHE # ═══════════════════════════════════════════════════════════════════════ -sqlx = { version = "0.7", features = [ +sqlx = { version = "0.8", features = [ "postgres", # Support PostgreSQL "runtime-tokio-rustls", # Runtime async avec TLS rustls "chrono", # Support des types de date diff --git a/veza-common/Cargo.toml b/veza-common/Cargo.toml index 95c3d420e..b9a47b817 100644 --- a/veza-common/Cargo.toml +++ b/veza-common/Cargo.toml @@ -19,7 +19,7 @@ uuid = { version = "1.0", features = ["v4", "serde"] } chrono = { version = "0.4", features = ["serde"] } # Error handling -thiserror = "1.0" +thiserror = "2.0" anyhow = "1.0" # Regex support @@ -33,7 +33,7 @@ tokio = { version = "1.0", features = ["full"] } async-trait = "0.1" # Database -sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "json"] } +sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "json"] } # Logging tracing = "0.1" diff --git a/veza-stream-server/Cargo.toml b/veza-stream-server/Cargo.toml index ca1c2aec5..a87b60322 100644 --- a/veza-stream-server/Cargo.toml +++ b/veza-stream-server/Cargo.toml @@ -28,7 +28,7 @@ tower-http = { version = "0.5", features = ["fs", "cors", "compression-gzip", "c hyper = { version = "1.0", features = ["full"] } # Production performance & concurrency -dashmap = "5.5" +dashmap = "6.1" parking_lot = "0.12" rayon = "1.10" crossbeam = "0.8" @@ -75,8 +75,8 @@ lz4_flex = "0.11" zstd = "0.13" # Database & Cache -sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "chrono", "uuid"] } -redis = { version = "0.25", features = ["tokio-comp", "connection-manager"] } +sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "chrono", "uuid"] } +redis = { version = "0.27", features = ["tokio-comp", "connection-manager"] } deadpool-redis = "0.15" # Metadata extraction @@ -94,7 +94,7 @@ reqwest = { version = "0.11", features = ["json", "stream"] } veza-common = { path = "../veza-common" } uuid = { version = "1.6", features = ["v4", "serde"] } chrono = { version = "0.4", features = ["serde"] } -thiserror = "1.0" +thiserror = "2.0" anyhow = "1.0" async-trait = "0.1" @@ -102,7 +102,7 @@ async-trait = "0.1" sha2 = "0.10" hmac = "0.12" jsonwebtoken = { version = "10", features = ["aws_lc_rs"] } -bcrypt = "0.15" +bcrypt = "0.17" ring = "0.17" # Configuration diff --git a/veza-stream-server/src/auth/revocation_store.rs b/veza-stream-server/src/auth/revocation_store.rs index 5d3d1b724..c0c2b2426 100644 --- a/veza-stream-server/src/auth/revocation_store.rs +++ b/veza-stream-server/src/auth/revocation_store.rs @@ -102,7 +102,7 @@ impl SessionRevocationStore for RedisRevocationStore { let key = self.key(session_id); redis::cmd("EXISTS") .arg(&key) - .query_async::<_, bool>(&mut conn) + .query_async::(&mut conn) .await .unwrap_or(false) } @@ -118,7 +118,7 @@ impl SessionRevocationStore for RedisRevocationStore { .arg(&key) .arg(24 * 3600_i64) .arg("1") - .query_async::<_, ()>(&mut conn) + .query_async::<()>(&mut conn) .await; Ok(()) }