Re-enable the akamai example (#518)

This commit is contained in:
nickelc
2021-02-09 14:49:12 +01:00
committed by GitHub
parent 978c71270a
commit 2b05c13298
2 changed files with 4 additions and 9 deletions

View File

@@ -68,7 +68,7 @@ serde_json = "1.0.0"
# Examples # Examples
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "net"] } tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "net"] }
env_logger = { version = "0.5.3", default-features = false } env_logger = { version = "0.5.3", default-features = false }
#rustls = "0.18" rustls = "0.19"
#tokio-rustls = "0.20.0" tokio-rustls = "0.22"
#webpki = "0.21" webpki = "0.21"
#webpki-roots = "0.17" webpki-roots = "0.21"

View File

@@ -1,7 +1,3 @@
fn main() {
eprintln!("TODO: Re-enable when tokio-rustls is upgraded.");
}
/*
use h2::client; use h2::client;
use http::{Method, Request}; use http::{Method, Request};
use tokio::net::TcpStream; use tokio::net::TcpStream;
@@ -77,4 +73,3 @@ pub async fn main() -> Result<(), Box<dyn Error>> {
} }
Ok(()) Ok(())
} }
*/