Module rustls

Source
Available on (crate features native-tls or rustls) and (crate features async-std or tokio) and crate feature rustls only.
Expand description

Implementation for using Rustls with a runtime.

Structs§

RustlsConnector
An implementation of TlsConnector built with rustls.
RustlsProvidertokio or async-std
A TlsProvider that uses rustls.
Verifier 🔒
A custom [rustls::client::danger::ServerCertVerifier]

Functions§

ensure_provider_installed 🔒
Try to install a default crypto provider if none has been installed, so that Rustls can operate.