diff --git a/Cargo.toml b/Cargo.toml index 21a1283..59aba0a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,6 +32,6 @@ serde_json = "1.0.0" tokio-core = "0.1" 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" +rustls = "0.11" +tokio-rustls = { git = "https://github.com/briansmith/tokio-rustls", tag = "b/p1" } +webpki-roots = "0.13" diff --git a/examples/akamai.rs b/examples/akamai.rs index 9c3ff70..9e5ee73 100644 --- a/examples/akamai.rs +++ b/examples/akamai.rs @@ -29,7 +29,7 @@ pub fn main() { let tls_client_config = std::sync::Arc::new({ let mut c = rustls::ClientConfig::new(); - c.root_store.add_trust_anchors(&webpki_roots::ROOTS); + c.root_store.add_server_trust_anchors(&webpki_roots::TLS_SERVER_ROOTS); c.alpn_protocols.push(ALPN_H2.to_owned()); c });