From ed7920e28950b118f076bb7aece1d180649aceb6 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Fri, 18 Oct 2024 16:15:46 +0000 Subject: [PATCH] Remove sqlx rustls dependency We use sqlite, which is local. --- Cargo.lock | 13 ------------- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a852645..f5679d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1738,7 +1738,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "415d9944693cb90382053259f89fbb077ea730ad7273047ec63b19bc9b160ba8" dependencies = [ "once_cell", - "ring 0.17.8", "rustls-pki-types", "rustls-webpki 0.102.8", "subtle", @@ -2085,8 +2084,6 @@ dependencies = [ "once_cell", "paste", "percent-encoding", - "rustls 0.23.14", - "rustls-pemfile 2.2.0", "serde", "serde_json", "sha2", @@ -2098,7 +2095,6 @@ dependencies = [ "tokio-stream", "tracing", "url", - "webpki-roots", ] [[package]] @@ -2841,15 +2837,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "webpki-roots" -version = "0.26.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841c67bff177718f1d4dfefde8d8f0e78f9b6589319ba88312f567fc5841a958" -dependencies = [ - "rustls-pki-types", -] - [[package]] name = "whoami" version = "1.5.2" diff --git a/Cargo.toml b/Cargo.toml index eef01ae..628c3b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ reqwest = { version = "0.12.0", features = ["json"] } secrecy = { version = "0.10.0", features = ["serde"] } serde = { version = "1.0.196", features = ["derive"] } sha2 = "0.10.8" -sqlx = { version = "0.8.0", features = ["runtime-tokio", "tls-rustls", "sqlite", "time"] } +sqlx = { version = "0.8.0", features = ["runtime-tokio", "sqlite", "time"] } thiserror = "1.0.56" time = { version = "0.3.34", features = ["formatting", "macros"] } tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] }