Remove dependencies on OpenSSL (#4036)

* Remove dependency on hyper-tls

This removes one of the dependencies on native-tls, and thus on OpenSSL.
I will remove the other in a separate commit.

* Remove the `HttpClient` enum

It only had one variant.

* Apply suggestions from code review

Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com>
This commit is contained in:
Demi Obenour
2019-11-08 07:29:03 -05:00
committed by Bastian Köcher
parent dfded93411
commit 5a26696432
3 changed files with 32 additions and 39 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ keystore = { package = "substrate-keystore", path = "../keystore" }
[target.'cfg(not(target_os = "unknown"))'.dependencies]
hyper = "0.12.35"
hyper-tls = "0.3.2"
hyper-rustls = "0.17.1"
[dev-dependencies]
env_logger = "0.7.0"