| Crates.io | tls-listener |
| lib.rs | tls-listener |
| version | 0.11.0 |
| created_at | 2019-02-01 07:27:53.888759+00 |
| updated_at | 2025-02-16 08:07:02.593538+00 |
| description | wrap incoming Stream of connections in TLS |
| homepage | |
| repository | https://github.com/tmccombs/tls-listener |
| max_upload_size | |
| id | 111936 |
| size | 123,939 |
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 (more details below), native-tls, or openssl
features depending on which implementation you would like to use.
When enabling the rustls feature, the rustls crate will be added as a dependency along
with it's default cryptography provider.
To avoid this behaviour and use other cryptography providers, the rustls-core feature can be used instead.
Additional feature flags for other rustls built-in cryptography providers are also available:
rustls-aws-lc (default), rustls-fips and rustls-ring