Skip to content

chore(powersync): align rusqlite with sqlx-sqlite - #2

Merged
birdmanmandbir merged 2 commits into
mainfrom
codex/align-rusqlite-sqlx-sqlite
May 9, 2026
Merged

chore(powersync): align rusqlite with sqlx-sqlite#2
birdmanmandbir merged 2 commits into
mainfrom
codex/align-rusqlite-sqlx-sqlite

Conversation

@birdmanmandbir

Copy link
Copy Markdown

Summary

Align the Rust SDK's rusqlite dependency with stable sqlx-sqlite by moving from rusqlite 0.39 to 0.32.

This keeps the SDK on libsqlite3-sys 0.30.1, which lets downstream crates use the current stable sqlx-sqlite 0.8.6 in the same Cargo graph without hitting Cargo's single-links = "sqlite3" conflict.

Details

  • Downgrades rusqlite in the SDK, test utilities, and egui example.
  • Replaces Statement::query_one calls with query_row, which is the equivalent API available on rusqlite 0.32.
  • Updates rustls-webpki to 0.103.13 because the repo pre-push cargo deny hook blocks the existing vulnerable 0.103.9 lockfile entry.

Validation

  • cargo fmt --check
  • cargo test -p powersync
  • pre-push hook:
    • clippy
    • cargo deny check

@birdmanmandbir
birdmanmandbir marked this pull request as ready for review May 9, 2026 08:59
@birdmanmandbir
birdmanmandbir merged commit 41dcdfb into main May 9, 2026
3 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.

1 participant