{"id":15483206,"url":"https://github.com/zpascal/tokio-postgres-rustls-connection-pool-demo","last_synced_at":"2025-03-28T15:23:47.346Z","repository":{"id":104048569,"uuid":"367832397","full_name":"ZPascal/tokio-postgres-rustls-connection-pool-demo","owner":"ZPascal","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-16T09:16:17.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-19T06:05:07.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZPascal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-16T09:08:48.000Z","updated_at":"2023-08-05T20:26:37.000Z","dependencies_parsed_at":"2023-06-29T11:16:06.119Z","dependency_job_id":null,"html_url":"https://github.com/ZPascal/tokio-postgres-rustls-connection-pool-demo","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"41e489150a9a7cfe5821ab81b654112276206c0d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZPascal%2Ftokio-postgres-rustls-connection-pool-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZPascal%2Ftokio-postgres-rustls-connection-pool-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZPascal%2Ftokio-postgres-rustls-connection-pool-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZPascal%2Ftokio-postgres-rustls-connection-pool-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZPascal","download_url":"https://codeload.github.com/ZPascal/tokio-postgres-rustls-connection-pool-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246050696,"owners_count":20715695,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T05:11:00.426Z","updated_at":"2025-03-28T15:23:47.329Z","avatar_url":"https://github.com/ZPascal.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connecting Securely for PostgreSQL amd using deadpool connection pooler\n\nThis project demonstrates how to use [Tokio Postgres](https://crates.io/crates/tokio-postgres) with [Rustls](https://crates.io/crates/rustls) to connect to PostgreSQL over TLS.\n\n## Influenced repositories\n- https://github.com/ecliptical/tokio-postgres-rustls-rds-demo\n\n## Command\n\n```bash\nenv 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\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzpascal%2Ftokio-postgres-rustls-connection-pool-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzpascal%2Ftokio-postgres-rustls-connection-pool-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzpascal%2Ftokio-postgres-rustls-connection-pool-demo/lists"}