Skip to main content

Crate postgres_rustls

Crate postgres_rustls 

Source
Expand description

TLS support for tokio-postgres via rustls.

The counterpart of postgres-native-tls: MakeTlsConnector wraps a rustls::ClientConfig, and the streams it makes report the tls-server-end-point channel binding, so SCRAM-SHA-256-PLUS works as it does over native-tls.

Structsยง

MakeTlsConnector
A MakeTlsConnect implementation using rustls.
TlsConnector
A TlsConnect implementation using rustls.
TlsStream
The stream returned by TlsConnector.