thalovant 0.2.17

Rust SDK for direct Thalovant hub data-plane clients and agents
Documentation
1
2
3
4
5
6
7
8
9
use std::sync::Once;

static RUSTLS_PROVIDER: Once = Once::new();

pub(crate) fn ensure_rustls_provider() {
    RUSTLS_PROVIDER.call_once(|| {
        let _ = rustls::crypto::ring::default_provider().install_default();
    });
}