{"id":63904,"library":"postgres-openssl","title":"Postgres OpenSSL","description":"TLS support for tokio-postgres via OpenSSL.","status":"active","version":"0.5.3","language":"rust","source_language":null,"source_url":"https://github.com/rust-postgres/rust-postgres","tags":["postgres","tls","openssl","database","async"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\npostgres-openssl = \"0.5.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add postgres-openssl","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"MakeTlsConnector","correct":"use postgres_openssl::MakeTlsConnector;"}],"quickstart":{"code":"use postgres_openssl::MakeTlsConnector;\nuse openssl::ssl::SslConnector;\n\nfn main() {\n    let connector = SslConnector::builder().unwrap().build();\n    let tls = MakeTlsConnector::new(connector);\n    println!(\"TLS connector created\");\n}","lang":"rust","description":"Create a TLS connector for tokio-postgres using OpenSSL."},"warnings":[{"fix":"Add `features = [\"with-openssl-3\"]` to tokio-postgres dependency.","message":"Requires the `openssl` feature to be enabled in tokio-postgres.","severity":"gotcha","affected_versions":">=0.5.0"}],"env_vars":null,"search_vec":"'async':15 'databas':14 'openssl':2,10,13 'postgr':1,8,11 'support':4 'tls':3,12 'tokio':7 'tokio-postgr':6 'via':9","created_at":"2026-06-17T16:49:19.020974+00:00","updated_at":"2026-06-17T16:49:19.020974+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/rust-postgres/rust-postgres","github":"https://github.com/rust-postgres/rust-postgres","docs":"https://docs.rs/postgres-openssl/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}