@ -40,7 +40,7 @@ version = "1.0"
[dependencies.real-async-tls]
optional = true
version = "0.6.0"
version = "0.7"
package = "async-tls"
[dependencies.real-async-native-tls]
@ -35,7 +35,7 @@ where
Mode::Tls => {
let stream = {
let connector = connector.unwrap_or_else(AsyncTlsConnector::new);
connector.connect(&domain, socket)?.await?
connector.connect(&domain, socket).await?
};
Ok(StreamSwitcher::Tls(stream))
}