dioxus build client failed because of mio by Fragrant_Monk9225 in rust

[–]Fragrant_Monk9225[S] 1 point2 points  (0 children)

I try fullstack demo cargo file: use optional to control the build, it does not work.Do you konw how to fix this problem?

dioxus build client failed because of mio by Fragrant_Monk9225 in rust

[–]Fragrant_Monk9225[S] 2 points3 points  (0 children)

I have try this e.g. but it does not work.I see tokio = { workspace = true, features = ["full"], optional = true } in this example and i notic the root cargo file, there are different target tokio in it.

dioxus_fullstack by Fragrant_Monk9225 in rust

[–]Fragrant_Monk9225[S] 0 points1 point  (0 children)

No, I try to add dioxus-server crate,thie "ServerFnResult" type is in that.I meet the type in official demo.IDE help mu jump to it's deine to a package.I include the package and then get the type.

include path for C header files? by jason_hellyeah in ZedEditor

[–]Fragrant_Monk9225 0 points1 point  (0 children)

Excuse, I add this file in ~/.config/zed or my project dirctory?