Graph Limitations on Rust targeting WASM? #192
Replies: 3 comments
-
What I've found so far: While the WASM variant of CozoDB says it doesn't support all of the graph features, the Cozo DB Rust support says it works on any target that supports the std library. I'll still have to just try it and see what runs. |
Beta Was this translation helpful? Give feedback.
-
Adding cozo ="0.7.5" to a Dioxus web project results in the following when running
|
Beta Was this translation helpful? Give feedback.
-
Trying to add
Though if the Dioxus is running the Rust in WASM mode, I'm not sure that a "js" flag is the correct setting, but I don't see any other options in the above link for other options. |
Beta Was this translation helpful? Give feedback.
-
I'm hoping to use CozoDB as a local first database in either a Dioxus or Tauri project.
This would involve using the Rust version of CozoDB. I believe the Rust in these projects gets compiled to Web Assembly?
If the Rust code is compiled to WASM, will CozoDB have the same limitations listed below for the "browser" version?
If so, it sounds like it would not have the graph module available and that's a main part of why I want to use it.
And how does the browser playground in the tutorial not face this limitation?
Beta Was this translation helpful? Give feedback.
All reactions