From 2b05c13298011c2cbce2c10d299a5a0f40d22fab Mon Sep 17 00:00:00 2001 From: nickelc Date: Tue, 9 Feb 2021 14:49:12 +0100 Subject: [PATCH] Re-enable the akamai example (#518) --- Cargo.toml | 8 ++++---- examples/akamai.rs | 5 ----- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 42f78b8..e68eb81 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,7 +68,7 @@ serde_json = "1.0.0" # Examples tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "net"] } env_logger = { version = "0.5.3", default-features = false } -#rustls = "0.18" -#tokio-rustls = "0.20.0" -#webpki = "0.21" -#webpki-roots = "0.17" +rustls = "0.19" +tokio-rustls = "0.22" +webpki = "0.21" +webpki-roots = "0.21" diff --git a/examples/akamai.rs b/examples/akamai.rs index ebd09ad..29d8a93 100644 --- a/examples/akamai.rs +++ b/examples/akamai.rs @@ -1,7 +1,3 @@ -fn main() { - eprintln!("TODO: Re-enable when tokio-rustls is upgraded."); -} -/* use h2::client; use http::{Method, Request}; use tokio::net::TcpStream; @@ -77,4 +73,3 @@ pub async fn main() -> Result<(), Box> { } Ok(()) } -*/