Skip to content

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.

chore: Use reacher fork of fast-socks

Amaury Mdc566d6819e6
diff --git a/Cargo.lock b/Cargo.lock
index 43010013..722b9f94 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -319,11 +319,11 @@ dependencies = [
"async-smtp",
"async-std",
"async-std-resolver",
- "fast-socks5",
"futures",
"log",
"mailchecker",
"rand",
+ "reacher-fast-socks5",
"regex",
"reqwest",
"serde",
@@ -1263,6 +1263,19 @@ dependencies = [
"getrandom",
]
+[[package]]
+name = "reacher-fast-socks5"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1e0ee4dd08849e48b878598d7a8074284147ad924fe066c0923caf7e104cd12"
+dependencies = [
+ "anyhow",
+ "log",
+ "thiserror",
+ "tokio",
+ "tokio-stream",
+]
+
[[package]]
name = "redox_syscall"
version = "0.2.9"
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 1cc4ccf0..be307bd2 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -22,7 +22,7 @@ async-recursion = "1.0.0"
async-smtp = { version = "0.5.0", features = ["socks5"] }
async-std = "1.12.0"
async-std-resolver = "0.21.2"
-fast-socks5 = "0.8.0"
+reacher-fast-socks5 = "0.8.1"
futures = "0.3.21"
log = "0.4.17"
mailchecker = "5.0.0"
diff --git a/core/src/smtp/error.rs b/core/src/smtp/error.rs
index 50244c1b..735c7425 100644
--- a/core/src/smtp/error.rs
+++ b/core/src/smtp/error.rs
@@ -19,7 +19,7 @@ use super::yahoo::YahooError;
use crate::util::ser_with_display::ser_with_display;
use async_smtp::smtp::error::Error as AsyncSmtpError;
use async_std::future;
-use fast_socks5::SocksError;
+use reacher_fast_socks5::SocksError;
use serde::Serialize;
/// Error occured connecting to this email server via SMTP.