Skip to content

Commit

Permalink
change hyper-socks2-mw to versioned crate (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeastplume authored Jun 3, 2020
1 parent 60ab372 commit 3edd410
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
9 changes: 5 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions impls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion impls/src/client_utils/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 3edd410

Please sign in to comment.