This library provides a type-safe way to work with PostgreSQL connection strings, supporting both the URI format and the keyword/value format as specified in the PostgreSQL documentation.
// Parse connection string (PostgreSQL libpq format) // Supported format: "key1=value1 key2=value2 ..." // Supported keys: host, dbname, user, password, port ...