1/// Installs the ring CryptoProvider as the process-wide rustls default.
2///
3/// Must be called once at application startup before any TLS connections are
4/// made.
5pub fn init_crypto_provider() {
6 rustls::crypto::ring::default_provider()
7 .install_default()
8 .ok();
9}