mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 07:11:36 +02:00
change hyper-socks2-mw to versioned crate (#425)
This commit is contained in:
+1
-2
@@ -33,8 +33,7 @@ hyper-timeout = "0.3"
|
||||
#Socks/Tor
|
||||
byteorder = "1"
|
||||
hyper = "0.13"
|
||||
#hyper-socks2 = "0.4"
|
||||
hyper-socks2 = { git = "https://github.com/yeastplume/hyper-socks2", branch = "master" }
|
||||
hyper-socks2-mw = "0.4"
|
||||
ed25519-dalek = "1.0.0-pre.1"
|
||||
x25519-dalek = "0.6"
|
||||
data-encoding = "2"
|
||||
|
||||
@@ -292,7 +292,7 @@ impl Client {
|
||||
let auth = format!("{}:{}", addr.ip(), addr.port());
|
||||
|
||||
let https = hyper_rustls::HttpsConnector::new();
|
||||
let socks = hyper_socks2::SocksConnector {
|
||||
let socks = hyper_socks2_mw::SocksConnector {
|
||||
proxy_addr: hyper::Uri::builder()
|
||||
.scheme("socks5")
|
||||
.authority(auth.as_str())
|
||||
|
||||
Reference in New Issue
Block a user