Skip to main content

ensure_rustls_crypto_provider

Function ensure_rustls_crypto_provider 

Source
pub fn ensure_rustls_crypto_provider()
Expand description

Install the process-wide rustls crypto provider required by reqwest.

The workspace uses reqwest with the rustls-no-provider feature, so the application must install a provider before constructing clients. We do that once per process and accept any already-installed provider.