Expand description
Shared rustls crypto provider and client configuration.
A binary can end up with more than one rustls crypto provider compiled in, and
rustls::ClientConfig::builder() panics when it cannot pick one. rustls users without an
explicit provider, reqwest among them, fall back to the process-wide default instead, so this
module installs ring as that default and builds explicit configurations from it.
Functionsยง
- crypto_
provider - The process-wide default crypto provider, installing ring if none is set.
- install_
default_ crypto_ provider - Installs ring as the process-wide default crypto provider unless one is already set.
- rustls_
client_ config - Client configuration trusting the Mozilla root certificates.