From 97474de07e5d4584be747d2d3a00da69be17100f Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Tue, 13 Dec 2022 00:52:02 -0500 Subject: [PATCH] reset sqlx features --- Cargo.lock | 17 ----------------- services/api/Cargo.toml | 2 +- services/tasks/Cargo.toml | 2 +- services/websocket/Cargo.toml | 2 +- 4 files changed, 3 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a64689f..5347d90 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -343,21 +343,6 @@ dependencies = [ "libc", ] -[[package]] -name = "crc" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53757d12b596c16c78b83458d732a5d1a17ab3f53f2f7412f6fb57cc8a140ab3" -dependencies = [ - "crc-catalog", -] - -[[package]] -name = "crc-catalog" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d0165d2900ae6778e36e80bbc4da3b5eefccee9ba939761f9c2882a5d9af3ff" - [[package]] name = "crossbeam-queue" version = "0.3.8" @@ -1590,7 +1575,6 @@ dependencies = [ "byteorder", "bytes", "chrono", - "crc", "crossbeam-queue", "dirs", "dotenvy", @@ -1640,7 +1624,6 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "sha2", "sqlx-core", "sqlx-rt", "syn", diff --git a/services/api/Cargo.toml b/services/api/Cargo.toml index 40bd5f4..3c4309e 100644 --- a/services/api/Cargo.toml +++ b/services/api/Cargo.toml @@ -10,7 +10,7 @@ serde_json = "1.0.89" serde = "1.0.149" async-graphql = { version = "5.0.3", features = ["chrono"] } axum = "0.6.1" -sqlx = { version = "0.6.2", features = [ "runtime-tokio-native-tls", "postgres", "chrono" ] } +sqlx = { version = "0.6.2", default_features = false, features = [ "runtime-tokio-native-tls", "postgres", "chrono" ] } tokio = { version = "1.23.0", features = ["macros"] } tower-http = { version = "0.3.5", features = ["cors"] } lazy_static = "1.4.0" diff --git a/services/tasks/Cargo.toml b/services/tasks/Cargo.toml index 9f8e13b..e649c32 100644 --- a/services/tasks/Cargo.toml +++ b/services/tasks/Cargo.toml @@ -7,6 +7,6 @@ edition = "2021" [dependencies] tokio = { version = "1.23.0", features = ["macros"] } -sqlx = { version = "0.6.2", features = [ "runtime-tokio-native-tls" , "postgres" ] } +sqlx = { version = "0.6.2", default_features = false, features = [ "runtime-tokio-native-tls" , "postgres" ] } lazy_static = "1.4.0" async_once = "0.2.6" \ No newline at end of file diff --git a/services/websocket/Cargo.toml b/services/websocket/Cargo.toml index b9d26a2..d9f9832 100644 --- a/services/websocket/Cargo.toml +++ b/services/websocket/Cargo.toml @@ -11,7 +11,7 @@ tokio-tungstenite = { version = "0.18.0", features=["native-tls"] } serde = { version = "1.0.149", features = ["derive"] } serde_json = "1.0.89" tokio = { version = "1.23.0", features = ["macros"] } -sqlx = { version = "0.6.2", features = [ "runtime-tokio-native-tls" , "postgres" ] } +sqlx = { version = "0.6.2", default_features = false, features = [ "runtime-tokio-native-tls" , "postgres" ] } url = "2.3.1" futures-util = "0.3.25" futures = "0.3.25"