17 releases (9 breaking)
0.10.0 | Mar 15, 2024 |
---|---|
0.9.1 | Dec 23, 2023 |
0.8.0 | Oct 19, 2023 |
0.7.0 | Apr 1, 2023 |
0.1.1 | Feb 4, 2019 |
#175 in Network programming
38,461 downloads per month
Used in 9 crates
(8 directly)
47KB
365 lines
tls-listener
This library is intended to automatically initiate a TLS connection as for each new connection in a source of new streams (such as a listening TCP or unix domain socket).
It can be used to easily create a Stream
of TLS connections from a listening socket.
See examples for examples of usage.
You must enable either one of the rustls
, native-tls
, or openssl
features depending on which implementation you
would like to use.
lib.rs
:
Async TLS listener
This library is intended to automatically initiate a TLS connection for each new connection in a source of new streams (such as a listening TCP or unix domain socket).
Features:
rustls
: Support the tokio-rustls backend for tls (default)native-tls
: support the tokio-native-tls backend for tlstokio-net
: Implementations for tokio socket types (default)rt
: Features that depend on the tokio runtime, such asSpawningHandshakes
Dependencies
~3–14MB
~172K SLoC