Skip to content

Update diesel and diesel-async to newest versions - #3005

Open
mcclure wants to merge 3 commits into
rwf2:masterfrom
mcclure:diesel_sqlite_feature_updates
Open

Update diesel and diesel-async to newest versions#3005
mcclure wants to merge 3 commits into
rwf2:masterfrom
mcclure:diesel_sqlite_feature_updates

Conversation

@mcclure

@mcclure mcclure commented Aug 13, 2026

Copy link
Copy Markdown

This updates diesel and diesel-async to the newest versions. This requires minor changes:

  • deadpool must be bumped. If you don't like this, you can avoid it by fixing diesel-async at 0.7.4.
  • The diesel transaction call must be changed because a type changed from FnOnce<Box<Pin<Future>>> to Future. For an explanation of this, see the diesel-async 0.9 release notes or this Mastodon discussion. If you don't like this ,yo ucan avoid it by fixing disel-async at 0.8.

This patch rests atop my existing PR #2970 . I hope that's OK. It is probably possible to rebase 2c18c without #2970 (but I'd rather you accepted #2970, as it's minor and benign).

I tested this patch successfully with test.sh --core, test.sh --examples, and my own third-party app which makes sense of async diesel in the db pool.

…d 0.9.2.

This requires bumping deadpool (because of diesel-async 0.8) and changing the signature on a function call (because of diesel-async 0.9).
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