Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 520 Bytes

File metadata and controls

12 lines (8 loc) · 520 Bytes

Connecting Securely for PostgreSQL amd using deadpool connection pooler

This project demonstrates how to use Tokio Postgres with Rustls to connect to PostgreSQL over TLS.

Influenced repositories

Command

env PG.DBNAME=postgres PG.HOST=localhost PG.PORT=6432 PG.USER=postgres PG.PASSWORD=postgres DB_CA_CERT=docker/files/cert/ca.pem RUST_LOG=debug cargo run