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(()) } -*/