#tls-stream #deprecated #tokio #io-stream #native-tls #async-tls #tls-acceptor

deprecated tokio-tls

Deprecated in favor of tokio-naitve-tls. An implementation of TLS/SSL streams for Tokio giving an implementation of TLS for nonblocking I/O streams

14 releases

0.3.1 May 6, 2020
0.3.0 Nov 26, 2019
0.3.0-alpha.6 Oct 1, 2019
0.2.1 Jan 7, 2019
0.1.0 Dec 21, 2016

#6 in #tls-acceptor

Download history 12104/week @ 2023-12-16 8055/week @ 2023-12-23 9847/week @ 2023-12-30 11926/week @ 2024-01-06 12319/week @ 2024-01-13 12767/week @ 2024-01-20 13351/week @ 2024-01-27 11889/week @ 2024-02-03 13907/week @ 2024-02-10 15455/week @ 2024-02-17 16094/week @ 2024-02-24 15740/week @ 2024-03-02 12890/week @ 2024-03-09 13197/week @ 2024-03-16 14425/week @ 2024-03-23 14301/week @ 2024-03-30

57,087 downloads per month
Used in fewer than 67 crates

MIT license

3MB
44K SLoC

tokio-tls

Deprecated in favor of tokio-native-tls.

An implementation of TLS/SSL streams for Tokio built on top of the [native-tls crate]

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.


lib.rs:

Async TLS streams

Note: This crate is deprecated and has been moved into the tokio-native-tls crate.

This library is an implementation of TLS streams using the most appropriate system library by default for negotiating the connection. That is, on Windows this library uses SChannel, on OSX it uses SecureTransport, and on other platforms it uses OpenSSL.

Each TLS stream implements the Read and Write traits to interact and interoperate with the rest of the futures I/O ecosystem. Client connections initiated from this crate verify hostnames automatically and by default.

This crate primarily exports this ability through two newtypes, TlsConnector and TlsAcceptor. These newtypes augment the functionality provided by the native-tls crate, on which this crate is built. Configuration of TLS parameters is still primarily done through the native-tls crate.

Dependencies

~0.4–11MB
~103K SLoC