v0.8.0
Deferred failure in make_tls_connect
(e.g. due to an invalid/missing hostname) until establishing the TLS connection is actually attempted. This is consistent with the behaviour of other tokio-postgres
TLS integrations, and allows using SslMode::Disable
to e.g. connect to a UNIX socket whilst still having tokio-postgres-rustls
as the chosen TLS library for tokio-postgres.