Switch Akamai example from rust-openssl to Rustls. (#24)

With this change, h2 can build and run without any manual configuration steps for -msvc targets. Previously manual installation of OpenSSL libraries was required.
This commit is contained in:
Brian Smith
2017-08-16 18:43:35 -10:00
committed by Carl Lerche
parent 72f1d372af
commit 2992594552
2 changed files with 24 additions and 16 deletions

View File

@@ -30,7 +30,8 @@ serde_json = "1.0.0"
# Akamai example
tokio-core = "0.1"
openssl = { version = "0.9.14", "features" = ["v102"] }
tokio-openssl = "0.1.3"
env_logger = "0.4.3"
io-dump = { git = "https://github.com/carllerche/io-dump" }
rustls = "0.10.0"
tokio-rustls = "0.3.1"
webpki-roots = "0.12.0"