Open
Description
Specific Demand
It is very common for people to try to use Tokio in Dioxus (or wasm more generally). If you try to compile the project after adding tokio, you get this crypic error message:
unresolved import `crate::sys::IoSourceState`
|
12 | use crate::sys::IoSourceState;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ no `IoSourceState` in `sys`
Implement Suggestion
We should either change Tokio's error message when too many Tokio features are enabled for wasm support or look for the Tokio dependency when we compile a project in the CLI and warn users about Tokio not fully supporting wasm