aboutsummaryrefslogtreecommitdiff
path: root/net/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'net/src/error.rs')
-rw-r--r--net/src/error.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/net/src/error.rs b/net/src/error.rs
index 102a343..3656128 100644
--- a/net/src/error.rs
+++ b/net/src/error.rs
@@ -41,13 +41,9 @@ pub enum Error {
#[error("Ws Error: {0}")]
WsError(#[from] async_tungstenite::tungstenite::Error),
- #[cfg(feature = "smol")]
- #[error("Tls Error: {0}")]
- Rustls(#[from] futures_rustls::rustls::Error),
-
- #[cfg(feature = "tokio")]
+ #[cfg(feature = "tls")]
#[error("Tls Error: {0}")]
- Rustls(#[from] tokio_rustls::rustls::Error),
+ Rustls(#[from] karyon_async_rustls::rustls::Error),
#[cfg(feature = "tls")]
#[error("Invalid DNS Name: {0}")]