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

Create axum variant for wasm (no Tokio) #51

Open
zeeshanlakhani opened this issue Jan 30, 2023 · 0 comments
Open

Create axum variant for wasm (no Tokio) #51

zeeshanlakhani opened this issue Jan 30, 2023 · 0 comments
Labels
axum Axum-related work enhancement New feature or request help wanted Extra attention is needed

Comments

@zeeshanlakhani
Copy link
Contributor

Summary

As of 0.6, axum supports being compiled to WebAssembly by disabling the tokio feature. We can support a serverless runtime for single requests/responses, e.g. https://github.com/tokio-rs/axum/blob/main/examples/simple-router-wasm/src/main.rs.

Need to mainly look into how extended functionality w/ tracing, metrics, holds up or which parts need to be discarded.

@zeeshanlakhani zeeshanlakhani added help wanted Extra attention is needed axum Axum-related work enhancement New feature or request labels Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
axum Axum-related work enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant