Skip to content

Commit 63d7058

Browse files
authored
Merge branch 'snapview:master' into into-inner
2 parents e68e2fa + f3ae75d commit 63d7058

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.28.0
2+
3+
- Update `tungstenite` to `0.18.0`. See [`tungstenite` release](https://github.com/snapview/tungstenite-rs/blob/master/CHANGELOG.md).
4+
15
# 0.27.0
26

37
- See [performance updates in `tungstenite-rs`](https://github.com/snapview/tungstenite-rs/blob/master/CHANGELOG.md#0270).

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ keywords = ["websocket", "io", "web"]
66
authors = ["Daniel Abramov <[email protected]>", "Alexey Galakhov <[email protected]>"]
77
license = "MIT"
88
homepage = "https://github.com/snapview/tokio-tungstenite"
9-
documentation = "https://docs.rs/tokio-tungstenite/0.27.0"
9+
documentation = "https://docs.rs/tokio-tungstenite/0.28.0"
1010
repository = "https://github.com/snapview/tokio-tungstenite"
11-
version = "0.27.0"
11+
version = "0.28.0"
1212
edition = "2018"
1313
rust-version = "1.63"
1414
include = ["examples/**/*", "src/**/*", "LICENSE", "README.md", "CHANGELOG.md"]

src/tls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ mod encryption {
5050
Mode::Plain => Ok(MaybeTlsStream::Plain(socket)),
5151
Mode::Tls => {
5252
let try_connector = tls_connector.map_or_else(TlsConnector::new, Ok);
53-
let connector = try_connector.map_err(TlsError::Native)?;
53+
let connector = try_connector.map_err(TlsError::from)?;
5454
let stream = TokioTlsConnector::from(connector);
5555
let connected = stream.connect(&domain, socket).await;
5656
match connected {

0 commit comments

Comments
 (0)