Skip to content

migrate to async API #12

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

Open
rursprung opened this issue Apr 3, 2025 · 0 comments
Open

migrate to async API #12

rursprung opened this issue Apr 3, 2025 · 0 comments

Comments

@rursprung
Copy link

rursprung commented Apr 3, 2025

see my comment on #8 and #11: you may want to migrate to an async API

most of the rust ecosystem - at the very least anything doing I/O - seems to have gone down that route, and for good reasons.

after #11 this is very easy for the client part. for the server you'll have to replace rouille with an async HTTP server, e.g. rocket.
this would be a breaking change for clients if you no longer provide a blocking API, but i don't think that it's worth it for you to maintain both an async and a blocking API.

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

No branches or pull requests

1 participant