Skip to content

Fix: propagate TLS errors, fix changelog link, deduplicate query parsing#416

Open
hughdbrown wants to merge 3 commits intorust-db:mainfrom
hughdbrown:chore-tidy-code
Open

Fix: propagate TLS errors, fix changelog link, deduplicate query parsing#416
hughdbrown wants to merge 3 commits intorust-db:mainfrom
hughdbrown:chore-tidy-code

Conversation

@hughdbrown
Copy link

  • Replace .unwrap() on native_tls::TlsConnector::new() with .migration_err() in both with_connection! and with_connection_async! macros to propagate errors instead of panicking
  • Fix CHANGELOG.md PR fix unused warnings #403 link URL (was pointing to update MSRV #401)
  • Collect URL query params once before struct initialization in TryFrom for Config, avoiding redundant parsing for use_tls and trust_cert fields

hughdbrown and others added 3 commits March 9, 2026 00:21
- Replace .unwrap() on native_tls::TlsConnector::new() with
  .migration_err() in both with_connection! and with_connection_async!
  macros to propagate errors instead of panicking
- Fix CHANGELOG.md PR rust-db#403 link URL (was pointing to rust-db#401)
- Collect URL query params once before struct initialization in
  TryFrom<Url> for Config, avoiding redundant parsing for use_tls
  and trust_cert fields

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant