Skip to content

Using rustbricks for fullstack app #2374

Answered by ealmloff
cosmincatalin asked this question in Q&A
Discussion options

You must be logged in to vote

The mio crate is likely pulled in by tokio which is not compatible with wasm. You can make the dependency optional and enable it in the server feature if you only need to use it on the server. Here is an example of that setup with tokio: https://github.com/DioxusLabs/dioxus/blob/main/packages/fullstack/examples/axum-auth/Cargo.toml#L14

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cosmincatalin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants