Skip to content

Commit

Permalink
Use webpki-tokio feature for hyper-rustls.
Browse files Browse the repository at this point in the history
  • Loading branch information
artemii235 committed Mar 25, 2021
1 parent 84551e8 commit 76a34cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 135 deletions.
136 changes: 3 additions & 133 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ web-sys = { version = "0.3.4", features = ["console"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
dirs = { version = "1" }
hyper = { version = "0.13" }
hyper-rustls = { version = "0.21" }
tokio = { version = "0.2.22", features = ["io-util", "rt-threaded", "stream", "tcp"] }

[dev-dependencies]
Expand Down
4 changes: 3 additions & 1 deletion mm2src/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ web-sys = { version = "0.3.4", features = ["console"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
hdrhistogram = { version = "7.0", default-features = false, features = ["sync"] }
hyper = { version = "0.13" }
hyper-rustls = { version = "0.20" }
# using webpki-tokio to avoid rejecting valid certificates
# got "invalid certificate: UnknownIssuer" for https://ropsten.infura.io on iOS using default-features
hyper-rustls = { version = "0.20", default-features = false, features = ["webpki-tokio"] }
libc = { version = "0.2" }
log4rs = { version = "0.13" }
metrics = { version = "0.12" }
Expand Down

0 comments on commit 76a34cc

Please sign in to comment.