From 972d574dc5b08112ac0073a14324c0790d7550f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?19=E5=B9=B4=E6=A2=A6=E9=86=92?= <3949379+getong@users.noreply.github.com> Date: Tue, 5 Dec 2023 23:01:13 +0800 Subject: [PATCH] use pki_types --- examples/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]