diff --git a/examples/server.rs b/examples/server.rs index 3c2b6e8d..34d1b160 100644 --- a/examples/server.rs +++ b/examples/server.rs @@ -9,7 +9,7 @@ use rustls_pemfile::{certs, rsa_private_keys}; use tokio::io::{copy, sink, split, AsyncWriteExt}; use tokio::net::TcpListener; use tokio_rustls::TlsAcceptor; -use webpki::types::{CertificateDer, PrivateKeyDer}; +use rustls_pki_types::{CertificateDer, PrivateKeyDer}; /// Tokio Rustls server example #[derive(FromArgs)]