forked from async-rs/async-tls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* attempt to port to rustls 0.20 * clippy * format * Fix test certificates (expired) and add a script to regenerate them. * Fix hanging and failing unit-tests UnexpectedEof errors are bubbled up from rustls. Tests needed to changed slightly, but are en par with tokio/tls. * Fix integration tests * Fix client and server examples * Update async-std version used for testing --------- Co-authored-by: Jason Mobarak <[email protected]>
- Loading branch information
Showing
21 changed files
with
442 additions
and
318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
[package] | ||
name = "async-tls" | ||
version = "0.11.0" | ||
authors = ["The async-rs developers", "Florian Gilcher <[email protected]>", "dignifiedquire <[email protected]>", "quininer kel <[email protected]>"] | ||
authors = [ | ||
"The async-rs developers", | ||
"Florian Gilcher <[email protected]>", | ||
"dignifiedquire <[email protected]>", | ||
"quininer kel <[email protected]>", | ||
] | ||
license = "MIT/Apache-2.0" | ||
repository = "https://github.com/async-std/async-tls" | ||
homepage = "https://github.com/async-std/async-tls" | ||
|
@@ -18,9 +23,10 @@ appveyor = { repository = "async-std/async-tls" } | |
[dependencies] | ||
futures-io = "0.3.5" | ||
futures-core = "0.3.5" | ||
rustls = "0.19.0" | ||
webpki = { version = "0.21.3", optional = true } | ||
webpki-roots = { version = "0.21.0", optional = true } | ||
rustls = "0.20.6" | ||
rustls-pemfile = "1.0" | ||
webpki = { version = "0.22.0", optional = true } | ||
webpki-roots = { version = "0.22.3", optional = true } | ||
|
||
[features] | ||
default = ["client", "server"] | ||
|
@@ -32,7 +38,7 @@ server = [] | |
lazy_static = "1" | ||
futures-executor = "0.3.5" | ||
futures-util = { version = "0.3.5", features = ["io"] } | ||
async-std = { version = "1.0", features = ["unstable"] } | ||
async-std = { version = "1.11", features = ["unstable"] } | ||
|
||
[[test]] | ||
name = "test" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,9 @@ authors = ["The async-rs developers", "quininer <[email protected]>"] | |
edition = "2018" | ||
|
||
[dependencies] | ||
structopt = "0.3.9" | ||
async-std = "1.5.0" | ||
async-std = "1.11.0" | ||
async-tls = { path = "../.." } | ||
rustls = "0.19.0" | ||
webpki = "0.21.3" | ||
futures-lite = "1.12.0" | ||
rustls = "0.20.6" | ||
rustls-pemfile = "1.0" | ||
structopt = "0.3.9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.