-
Notifications
You must be signed in to change notification settings - Fork 361
Support async_std #331
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
Comments
For reference, here is the Tide Listener for lambda that I implemented: https://github.com/Fishrock123/tide-lambda-listener Ideally this would run on top of something This uses Surf as the http client, using the One note of differences here is that the Presently it uses the conversions back-and-forth between hyperium async-native-tls and isahc are both avoided to prevent the need for cross-compilation to musl. |
It would probably also be handy (once the time comes) on this end of things to separate source code folders here between hyperium/tokio and http-rs/async-std. |
hey folks, we've decided not to do this for the time being. If anything changes, I'll let you know. |
@calavera May I ask how difficult it would be to support this? |
No idea. I'm guessing it's technically possible. Libraries like the AWS SDK only support Tokio too, so the large majority of users will end up using our current async runtime anyways. That's why it's not a goal for this project to support multiple async runtimes at the moment. |
#323 exposed a need to support multiple runtimes. This will most likely need be exposed by a new feature flag that would choose between tokio and async_std.
Additionally, there have been calls to support a non-async version(#317). We may be able to kill two birds with one stone here, but the primary focus will be adding support to async_std.
The text was updated successfully, but these errors were encountered: