Runtime
- tokio (default)
- smol
- async-global-executor
TLS backends
- native-tls
- openssl
- rustls (default)
Rustls certificates store
- rustls-platform-verifier (default)
- rustls-native-certs
- rustls-webpki-roots-certs
Warning about crypto backends for rustls
A crypto implementation must be enabled in rustls using feature flags. We mimic what rustls does, providing one feature flag per implementation and enabling the same as rustls by default. Available options are:
rustls--aws_lc_rs(default)rustls--ring
Example
To connect to a remote server:
use ;
use ;