Skip to content

Commit 30964fb

Browse files
committed
update to tokio 0.3
1 parent 211f539 commit 30964fb

File tree

5 files changed

+84
-219
lines changed

5 files changed

+84
-219
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44

55
## [2.0.0] - Unreleased
6+
### Breaking changes
7+
- Switched tokio version to 0.3.
8+
- Removed `AsyncTlsStream` from [tokio-libtls]. `TlsStream` can now be used in all cases where `AsyncTlsStream` could previously.
9+
- Removed `Error` from [tokio-libtls]. Now just use `libtls::TlsError` instead.
610

711
## [1.2.0] - 2020-04-09
812
### Added

examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ edition = "2018"
1010
futures = "0.3.4"
1111
libtls = { path = "../libtls", version = "2.0.0" }
1212
tokio-libtls = { path = "../tokio-libtls", version = "2.0.0" }
13-
tokio = { version = "0.2.16", features = ["full"] }
13+
tokio = { version = "0.3.4", features = ["full"] }
1414

1515
[[example]]
1616
name = "config"

tokio-libtls/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ keywords = ["tokio", "tls", "ssl", "libressl", "openbsd"]
1414
travis-ci = { repository = "reyk/rust-libtls", branch = "master" }
1515

1616
[dependencies]
17-
futures = "0.3.4"
17+
futures = "0.3.8"
1818
libtls = { path = "../libtls", version = "2.0.0" }
19-
mio = "0.6.21"
20-
tokio = { version = "0.2.16", features = ["io-driver", "tcp", "time"] }
19+
mio = "0.7.6"
20+
tokio = { version = "0.3.4", features = ["net", "time"] }
2121

2222
[dev-dependencies]
23-
tokio = { version = "0.2.16", features = ["full"] }
23+
tokio = { version = "0.3.4", features = ["full"] }

tokio-libtls/src/error.rs

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)