Skip to content

Convert all request handlers to async functions #5859

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

Merged
merged 51 commits into from
Jan 5, 2023

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jan 5, 2023

This replaces the conduit() usage in the router with async functions, using conduit_compat() inside to encapsulate the synchronously blocking code.

This will finally allow us to use other axum extractors in these functions too :)

Turbo87 added 30 commits January 5, 2023 19:43
@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Jan 5, 2023
@Turbo87 Turbo87 merged commit f38ea80 into rust-lang:master Jan 5, 2023
@Turbo87 Turbo87 deleted the async-fns branch January 5, 2023 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant