add fast-socks5 crate

This commit is contained in:
ghassmo
2022-02-26 19:53:49 +04:00
parent 45f82839ca
commit 1210aaed3e
2 changed files with 17 additions and 0 deletions

13
Cargo.lock generated
View File

@@ -1395,6 +1395,7 @@ dependencies = [
"clap 3.0.7",
"crypto_api_chachapoly",
"dirs 4.0.0",
"fast-socks5",
"futures",
"group",
"halo2_gadgets",
@@ -1862,6 +1863,18 @@ dependencies = [
"synstructure",
]
[[package]]
name = "fast-socks5"
version = "0.4.3"
source = "git+https://github.com/ghassmo/fast-socks5#52118864c981a418b167bfa4f0a92de6fbed30e7"
dependencies = [
"anyhow",
"async-std",
"futures",
"log",
"thiserror",
]
[[package]]
name = "fastrand"
version = "1.6.0"

View File

@@ -67,6 +67,9 @@ simplelog = {version = "0.11.2", optional = true}
tungstenite = {version = "0.16.0", optional = true}
async-tungstenite = {version = "0.16.1", optional = true}
# socks5
fast-socks5 = {git = "https://github.com/ghassmo/fast-socks5", optional = true}
# Crypto
bitvec = {version = "1.0.0", optional = true}
rand = {version = "0.8.5", optional = true}
@@ -142,6 +145,7 @@ util = [
rpc = [
"rand",
"url",
"fast-socks5",
"async-net",
"async-runtime",