bump version

pull/27/head
SchrodingerZhu 5 years ago committed by Sebastian Dröge
parent 70c77160a9
commit a2b88e46d0
  1. 2
      Cargo.toml
  2. 2
      src/async_tls.rs

@ -40,7 +40,7 @@ version = "1.0"
[dependencies.real-async-tls] [dependencies.real-async-tls]
optional = true optional = true
version = "0.6.0" version = "0.7"
package = "async-tls" package = "async-tls"
[dependencies.real-async-native-tls] [dependencies.real-async-native-tls]

@ -35,7 +35,7 @@ where
Mode::Tls => { Mode::Tls => {
let stream = { let stream = {
let connector = connector.unwrap_or_else(AsyncTlsConnector::new); let connector = connector.unwrap_or_else(AsyncTlsConnector::new);
connector.connect(&domain, socket)?.await? connector.connect(&domain, socket).await?
}; };
Ok(StreamSwitcher::Tls(stream)) Ok(StreamSwitcher::Tls(stream))
} }

Loading…
Cancel
Save