Function install_crypto_provider

Source
pub fn install_crypto_provider()
Expand description

This force installs the default crypto provider.

This is necessary in case there are more than one available backends enabled in rustls (ring, aws-lc-rs).

This should be called high in the main fn.

See also: https://github.com/snapview/tokio-tungstenite/issues/353#issuecomment-2455100010 https://github.com/awslabs/aws-sdk-rust/discussions/1257