launchbadge / sqlx

🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
Apache License 2.0
12.36k stars 1.18k forks source link

fix: use correct names for sslmode options #3285

Closed lily-mosquitoes closed 2 weeks ago

lily-mosquitoes commented 2 weeks ago

The names for the SSL mode options were incorrect, added test for making sure the built url can be parsed to ensure internal consistency at least. Also changed "ssl-mode" to "sslmode" (as well as other ssl properties) as it seems more standard and sqlx can parse both.

Does your PR solve an issue?

fixes #3255