07e8da6e52
* deps: update to rustls 0.21.0. This commit updates tokio-rustls to use the freshly released Rustls 0.21.0 release tag, and the rustls-webpki fork of webpki. * tests: improve server wait in early data test. Previously the `test_0rtt` test had a hardcoded 1s sleep waiting for an `openssl s_server` process to become ready. If 1s waiting wasn't long enough, the test could fail with an error like: ``` Error: Os { code: 10061, kind: ConnectionRefused, message: "No connection could be made because the target machine actively refused it." } ``` This commit replaces the hardcoded sleep with a sleep loop that gradually increases the delay time up to a fixed maximum. This makes the test run faster when the server is ready quickly and prevents an error if it takes longer than 1s to stabilize. * version: 0.23.4 -> 0.24.0 |
||
---|---|---|
.github/workflows | ||
tokio-native-tls | ||
tokio-rustls | ||
.gitignore | ||
Cargo.toml | ||
LICENSE | ||
README.md |
Tokio Tls
Overview
This crate contains a collection of Tokio based TLS libraries.
Getting Help
First, see if the answer to your question can be found in the Tutorials or the API documentation. If the answer is not there, there is an active community in the Tokio Discord server. We would be happy to try to answer your question. Last, if that doesn't work, try opening an issue with the question.
Contributing
🎈 Thanks for your help improving the project! We are so happy to have you! We have a contributing guide to help you get involved in the Tokio project.
Related Projects
In addition to the crates in this repository, the Tokio project also maintains several other libraries, including:
-
tokio
: A runtime for writing reliable, asynchronous, and slim applications with the Rust programming language. -
tracing
(formerlytokio-trace
): A framework for application-level tracing and async-aware diagnostics. -
mio
: A low-level, cross-platform abstraction over OS I/O APIs that powerstokio
. -
bytes
: Utilities for working with bytes, including efficient byte buffers.
Supported Rust Versions
Tokio is built against the latest stable, nightly, and beta Rust releases. The minimum version supported is the stable release from three months before the current stable release version. For example, if the latest stable Rust is 1.29, the minimum version supported is 1.26. The current Tokio version is not guaranteed to build on Rust versions earlier than the minimum supported version.
License
This project is licensed under the MIT license.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tokio by you, shall be licensed as MIT, without any additional terms or conditions.