Skip to content

Update libsqlite3-sys to 0.34.0 for SQLite 3.49.2 and rusqlite compatibility#3922

Closed
kriswuollett wants to merge 2 commits intolaunchbadge:mainfrom
kriswuollett:libsqlite3-sys-0.34.0
Closed

Update libsqlite3-sys to 0.34.0 for SQLite 3.49.2 and rusqlite compatibility#3922
kriswuollett wants to merge 2 commits intolaunchbadge:mainfrom
kriswuollett:libsqlite3-sys-0.34.0

Conversation

@kriswuollett
Copy link
Copy Markdown

Does your PR solve an issue?

fixes #3921 (compatibility with rusqlite in same workspace)

Is this a breaking change?

TBD to rely upon CI

@kriswuollett kriswuollett force-pushed the libsqlite3-sys-0.34.0 branch 2 times, most recently from 350f5e5 to b479c80 Compare July 5, 2025 02:11
@abonander
Copy link
Copy Markdown
Collaborator

@kriswuollett I found a workaround for the build failure and reported the issue upstream: rusqlite/rusqlite#1716

@abonander
Copy link
Copy Markdown
Collaborator

TL;DR: just add this to sqlx-sqlite/Cargo.toml:

[build-dependencies]
# FIXME: https://github.com/rusqlite/rusqlite/issues/1716
# force `prettyplease` to a minimum version that supports C-string literals
prettyplease = "0.2.18"

@abonander abonander added this to the 0.9.0 milestone Jul 6, 2025
@abonander
Copy link
Copy Markdown
Collaborator

Actually, as a result of rusqlite/rusqlite#1716, they just released libsqlite3-sys 0.35.0.

Strictly speaking, their MSRV puts them one release ahead of us, but we can probably safely guarantee that it will work with 1.87.0.

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.

Update libsqlite3-sys to 0.34.0

2 participants