From 89d367ff999d3b54d6632744a185399448081afc Mon Sep 17 00:00:00 2001 From: m00nwtchr Date: Wed, 11 Sep 2024 18:05:47 +0200 Subject: [PATCH] add proxy feature --- Cargo.lock | 6 +++--- Cargo.toml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 932ab93..7e8cf25 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4035,14 +4035,14 @@ dependencies = [ [[package]] name = "tokio-socks" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51165dfa029d2a65969413a6cc96f354b86b464498702f174a4efa13608fd8c0" +checksum = "0d4770b8024672c1101b3f6733eab95b18007dbe0847a8afe341fcf79e06043f" dependencies = [ "either", "futures-util", "thiserror", - "tokio 1.36.0", + "tokio 1.38.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 3c4c003..53347c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,6 @@ reqwest = { version = "0.12.5", default-features = false, features = [ "rustls-tls", "brotli", "gzip", - "socks", "http2", ] } tokio = { version = "1.32.0", features = [ @@ -179,7 +178,7 @@ opt-level = "z" [features] use-synonyms-search = ["thesaurus/static"] -default = ["memory-cache"] +default = ["memory-cache", "socks"] dhat-heap = ["dep:dhat"] memory-cache = ["dep:mini-moka"] redis-cache = ["dep:redis", "dep:base64"] @@ -188,3 +187,4 @@ encrypt-cache-results = ["dep:chacha20poly1305", "dep:chacha20"] cec-cache-results = ["compress-cache-results", "encrypt-cache-results"] experimental-io-uring = ["actix-web/experimental-io-uring"] use-non-static-synonyms-search = ["thesaurus"] +socks = ["reqwest/socks"] \ No newline at end of file