Skip to content

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

fix: Switch back to upstream fast-socks (#1164)

Amaurydb356f193748
diff --git a/Cargo.lock b/Cargo.lock
index 5bbe99d9..fc907bc7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -420,10 +420,10 @@ dependencies = [
"async-smtp",
"async-std",
"async-std-resolver",
+ "fast-socks5",
"log",
"mailchecker",
"rand",
- "reacher-fast-socks5",
"regex",
"reqwest",
"serde",
@@ -734,9 +734,9 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
[[package]]
name = "fast-socks5"
-version = "0.8.0"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25bef00d863e757b64a737857143b5425061271a4149ff5d81201fb4c9bfc01c"
+checksum = "d2687b5a6108f18ba8621e0e618a3be1dcc2768632dad24b7cea1f87975375a9"
dependencies = [
"anyhow",
"log",
@@ -1725,19 +1725,6 @@ 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 = "reacher_backend"
version = "0.4.0"
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 29a0a3d5..8f141a09 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -18,7 +18,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"
-reacher-fast-socks5 = "0.8.1"
+fast-socks5 = "0.8.1"
log = "0.4.17"
mailchecker = "5.0.0"
rand = {version = "0.8.5", features = ["small_rng"] }
diff --git a/core/src/smtp/error.rs b/core/src/smtp/error.rs
index aed0cd62..74230c49 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 reacher_fast_socks5::SocksError;
+use fast_socks5::SocksError;
use serde::Serialize;
/// Error occured connecting to this email server via SMTP.