MCPcopy Create free account
hub / github.com/actix/examples / init_rustls_provider

Function init_rustls_provider

examples-common/src/lib.rs:17–21  ·  view source on GitHub ↗

Load default rustls provider, to be done once for the process.

()

Source from the content-addressed store, hash-verified

15
16/// Load default rustls provider, to be done once for the process.
17pub fn init_rustls_provider() {
18 rustls::crypto::aws_lc_rs::default_provider()
19 .install_default()
20 .unwrap();
21}

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected