diff --git a/Cargo.toml b/Cargo.toml index d9093676..c53f6538 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,4 +31,3 @@ futures-util = "0.3.1" lazy_static = "1.1" webpki-roots = "0.26" rustls-pemfile = "2" -webpki = { package = "rustls-webpki", version = "0.102", features = ["alloc", "std"] } diff --git a/examples/server.rs b/examples/server.rs index 3c2b6e8d..a2a0bc4a 100644 --- a/examples/server.rs +++ b/examples/server.rs @@ -5,11 +5,11 @@ use std::path::{Path, PathBuf}; use std::sync::Arc; use argh::FromArgs; +use pki_types::{CertificateDer, PrivateKeyDer}; 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}; /// Tokio Rustls server example #[derive(FromArgs)]