open-net 0.3.2

A cross-platform async networking library with WebSocket clients and network status monitoring.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Cryptography shared by the rustls HTTP and WebSocket transports.
//!
//! Supply an `Arc<CryptoProvider>` to a transport's TLS configuration to select
//! its algorithms and key loader independently of the process default. When no
//! provider is supplied, clients use the application's process default. The SDK
//! never installs a process default and has no built-in cryptographic provider.
//!
//! Choose a rustls 0.23 compatible provider in the application. Client creation
//! fails with `InvalidConfig` if no provider is available; the SDK never
//! implicitly enables OpenSSL, AWS-LC or ring.

pub use rustls::crypto::CryptoProvider;