From 1e3014a777805d3dcb691ee6ebe59c62f58f8222 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 31 Dec 2022 13:43:20 -0500 Subject: Remove sqlx dependency from webapp crate --- server/Cargo.toml | 2 +- server/tests/db_test.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'server') diff --git a/server/Cargo.toml b/server/Cargo.toml index 9062058..4db1891 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -14,7 +14,7 @@ tokio = { version = "1.21.2", features = ["full"] } tower-http = { version = "0.3.4", features = ["full"] } tracing = "0.1.37" tracing-subscriber = { version = "0.3.16", features = ["env-filter"] } -protocol = { path = "../protocol" } +protocol = { path = "../protocol", features = ["db"] } openidconnect = "2.3.2" lru = "0.8.1" uuid = { version = "1.1.2", features = ["serde", "fast-rng", "v4"] } diff --git a/server/tests/db_test.rs b/server/tests/db_test.rs index e495d78..f635ad5 100644 --- a/server/tests/db_test.rs +++ b/server/tests/db_test.rs @@ -1,6 +1,4 @@ use protocol::card::{Rank, Suit}; -use sqlx::Row; -use tracing::info; mod common; -- cgit v1.2.3