{"id":35114492,"url":"https://github.com/ryanfowler/rustls-tokio-postgres","last_synced_at":"2026-04-08T13:31:47.332Z","repository":{"id":311342053,"uuid":"1039116943","full_name":"ryanfowler/rustls-tokio-postgres","owner":"ryanfowler","description":"A tokio-postgres TLS connector backed by rustls","archived":false,"fork":false,"pushed_at":"2026-04-04T14:51:37.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-04T16:59:39.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanfowler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-16T14:14:44.000Z","updated_at":"2026-04-04T14:51:40.000Z","dependencies_parsed_at":"2025-08-24T09:22:52.842Z","dependency_job_id":null,"html_url":"https://github.com/ryanfowler/rustls-tokio-postgres","commit_stats":null,"previous_names":["ryanfowler/rustls-tokio-postgres"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanfowler/rustls-tokio-postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfowler%2Frustls-tokio-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfowler%2Frustls-tokio-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfowler%2Frustls-tokio-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfowler%2Frustls-tokio-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanfowler","download_url":"https://codeload.github.com/ryanfowler/rustls-tokio-postgres/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfowler%2Frustls-tokio-postgres/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31558380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-12-27T20:38:56.480Z","updated_at":"2026-04-08T13:31:47.325Z","avatar_url":"https://github.com/ryanfowler.png","language":"Rust","readme":"# rustls-tokio-postgres\n\n[![Crates.io](https://img.shields.io/crates/v/rustls-tokio-postgres.svg)](https://crates.io/crates/rustls-tokio-postgres)\n[![Docs.rs](https://docs.rs/rustls-tokio-postgres/badge.svg)](https://docs.rs/rustls-tokio-postgres)\n[![License](https://img.shields.io/crates/l/rustls-tokio-postgres.svg)](#license)\n\nA [`tokio_postgres`](https://crates.io/crates/tokio-postgres) TLS connector backed by [`rustls`](https://crates.io/crates/rustls).\n\n## Example\n\n```rust\nuse rustls_tokio_postgres::{config_no_verify, MakeRustlsConnect};\nuse tokio_postgres::{connect, Config};\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    static CONFIG: \u0026str = \"host=localhost user=postgres\";\n\n    // This rustls config does not verify the server certificate.\n    // You can construct your own rustls ClientConfig, if needed.\n    let tls = MakeRustlsConnect::new(config_no_verify());\n\n    // Create the client with the TLS configuration.\n    let (_client, _conn) = connect(CONFIG, tls).await?;\n\n    Ok(())\n}\n```\n\n## Features\n\n- **channel-binding**: enables TLS channel binding, if supported.\n- **native-roots**: enables a function for creating a `rustls::ClientConfig` using the rustls-native-certs crate.\n- **webpki-roots**: enables a function for creating a `rustls::ClientConfig` using the webpki-roots crate.\n\n## License\n\n[Apache-2.0](./LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanfowler%2Frustls-tokio-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanfowler%2Frustls-tokio-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanfowler%2Frustls-tokio-postgres/lists"}