Skip to content

Claude/prepare rust release b j7lm#27

Merged
jeffreyaven merged 2 commits into
mainfrom
claude/prepare-rust-release-bJ7lm
Mar 14, 2026
Merged

Claude/prepare rust release b j7lm#27
jeffreyaven merged 2 commits into
mainfrom
claude/prepare-rust-release-bJ7lm

Conversation

@jeffreyaven
Copy link
Copy Markdown
Member

Fixed CI issues

claude added 2 commits March 14, 2026 04:50
…qwest rustls-tls

pgwire-lite v0.1.0 wraps the native libpq C library via libpq-sys, which
requires PostgreSQL client headers/libs at build time on every platform:
- macOS: 'libpq-fe.h' not found
- Linux cross (aarch64): missing libpq / OpenSSL pkg-config
- Windows: linker error LNK1181 cannot open 'libpq.lib'

Fix 1: Replace pgwire-lite with src/utils/pgwire.rs — a pure-Rust
implementation of the PostgreSQL v3 simple-query wire protocol using only
std::net::TcpStream. Zero native dependencies. Matches the exact API surface
used (PgwireLite::new, query, Value, Notice).

Fix 2: Switch reqwest from default native-tls (openssl-sys) to rustls-tls,
eliminating the OpenSSL requirement for cross-compiled Linux targets.

https://claude.ai/code/session_01GzGtjMcwBXyVW3uKW4F2Ai
- Reorder crate:: imports in base.rs and core/utils.rs to satisfy rustfmt
  (external crates before local crate imports, within their own groups)
- Fix trailing comment alignment in pgwire.rs match arms per rustfmt rules
- Replace needless range loop with iterator in parse_data_row (clippy)

https://claude.ai/code/session_01GzGtjMcwBXyVW3uKW4F2Ai
@jeffreyaven jeffreyaven merged commit aaf0563 into main Mar 14, 2026
6 checks passed
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.

2 participants