From 74dbba0bdc9d0c2b0a48d7f388734e4a122e22d6 Mon Sep 17 00:00:00 2001 From: Valentin Tolmer Date: Sat, 5 Apr 2025 01:32:32 -0500 Subject: [PATCH] server: dependency cleanup --- Cargo.lock | 2 +- crates/auth/Cargo.toml | 2 +- crates/domain-model/Cargo.toml | 10 ++-------- server/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8f1bd1c..1895198 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2702,7 +2702,7 @@ dependencies = [ "sea-orm", "serde", "serde_bytes", - "thiserror 1.0.66", + "thiserror 2.0.12", "uuid 1.11.0", ] diff --git a/crates/auth/Cargo.toml b/crates/auth/Cargo.toml index e575c50..ec2161f 100644 --- a/crates/auth/Cargo.toml +++ b/crates/auth/Cargo.toml @@ -23,7 +23,7 @@ digest = "0.9" generic-array = "0.14" rand = "0.8" sha2 = "0.9" -thiserror = "*" +thiserror = "2" [dependencies.derive_more] features = ["debug", "display"] diff --git a/crates/domain-model/Cargo.toml b/crates/domain-model/Cargo.toml index c34d4f3..3644245 100644 --- a/crates/domain-model/Cargo.toml +++ b/crates/domain-model/Cargo.toml @@ -15,7 +15,7 @@ base64 = "0.21" bincode = "1.3" orion = "0.17" serde_bytes = "0.11" -thiserror = "1" +thiserror = "2" [dev-dependencies] pretty_assertions = "1" @@ -38,13 +38,7 @@ path = "../domain" [dependencies.sea-orm] workspace = true -features = [ - "macros", - "with-chrono", - "with-uuid", - "sqlx-all", - "runtime-actix-rustls", -] +features = ["macros"] [dependencies.serde] workspace = true diff --git a/server/Cargo.toml b/server/Cargo.toml index d42440f..069c939 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -37,7 +37,7 @@ rand_chacha = "0.3" rustls-pemfile = "1" serde_json = "1" sha2 = "0.10" -thiserror = "*" +thiserror = "2" time = "0.3" tokio-rustls = "0.23" tokio-stream = "*"