Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depend on version of async-std with non-private spawn-blocking #2806

Merged
merged 1 commit into from
Oct 8, 2023

Conversation

A248
Copy link
Contributor

@A248 A248 commented Oct 7, 2023

I had been running into compilation failures because async-std's task::spawn_blocking function was marked as private. Upgrading my project to use async-std 1.12 fixed compilation, but I wondered why sqlx didn't encode this requirement.

The function was stabilized in async-std 1.12 (async-rs/async-std#1017) -- according to what I read, spawn_blocking previously required a feature flag. It seems sensible to declare this requirement in sqlx.

@abonander abonander merged commit b138705 into launchbadge:main Oct 8, 2023
64 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.

3 participants