Add: socks5 support. It may have problems with DoT, will see.

This commit is contained in:
DaZuo0122
2026-01-16 23:59:02 +08:00
parent edd1779920
commit 7746511fc4
12 changed files with 489 additions and 50 deletions

9
Cargo.lock generated
View File

@@ -2844,9 +2844,14 @@ dependencies = [
"hickory-resolver",
"pnet",
"reqwest",
"rustls",
"rustls-native-certs 0.6.3",
"serde",
"thiserror 2.0.17",
"tokio",
"tokio-rustls",
"tokio-socks",
"url",
]
[[package]]
@@ -2921,6 +2926,8 @@ dependencies = [
"surge-ping",
"thiserror 2.0.17",
"tokio",
"tokio-socks",
"url",
"wtfnet-geoip",
]
@@ -2934,6 +2941,8 @@ dependencies = [
"thiserror 2.0.17",
"tokio",
"tokio-rustls",
"tokio-socks",
"url",
"x509-parser",
]