aboutsummaryrefslogtreecommitdiff
path: root/p2p/src/error.rs
diff options
context:
space:
mode:
authorhozan23 <hozan23@proton.me>2024-03-12 21:54:29 +0100
committerhozan23 <hozan23@proton.me>2024-03-12 21:54:29 +0100
commit1126125d7088253e7a8751ca6ca31aa3af71aaa9 (patch)
treef0064f3a1b2e6c0fe460becc3e2898b38a50167c /p2p/src/error.rs
parent53167e975114b7bf60435949a57e5cae820ce503 (diff)
upgrade from async-rustls to futures-rustls
Diffstat (limited to 'p2p/src/error.rs')
-rw-r--r--p2p/src/error.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/p2p/src/error.rs b/p2p/src/error.rs
index 11de0f1..75330a8 100644
--- a/p2p/src/error.rs
+++ b/p2p/src/error.rs
@@ -63,10 +63,10 @@ pub enum Error {
Rcgen(#[from] rcgen::RcgenError),
#[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("Channel Send Error: {0}")]
ChannelSend(String),