Skip to main content

install_default_crypto_provider

Function install_default_crypto_provider 

Source
pub fn install_default_crypto_provider()
Expand description

Install the default ring CryptoProvider for rustls.

rustls 0.23+ requires an explicit provider. This function installs ring as the process-level default. Safe to call multiple times — subsequent calls are no-ops.