From 1126125d7088253e7a8751ca6ca31aa3af71aaa9 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Tue, 12 Mar 2024 21:54:29 +0100 Subject: upgrade from async-rustls to futures-rustls --- net/src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/src/error.rs') diff --git a/net/src/error.rs b/net/src/error.rs index 0d96d64..be90a03 100644 --- a/net/src/error.rs +++ b/net/src/error.rs @@ -29,10 +29,10 @@ pub enum Error { ChannelRecv(#[from] smol::channel::RecvError), #[error("Tls Error: {0}")] - Rustls(#[from] async_rustls::rustls::Error), + Rustls(#[from] futures_rustls::rustls::Error), #[error("Invalid DNS Name: {0}")] - InvalidDnsNameError(#[from] async_rustls::rustls::client::InvalidDnsNameError), + InvalidDnsNameError(#[from] futures_rustls::pki_types::InvalidDnsNameError), #[error(transparent)] KaryonCore(#[from] karyon_core::error::Error), -- cgit v1.2.3