Roadmap & Todo
JonasKruckenberg opened this issue · comments
Jonas Kruckenberg commented
There are a couple things that still need to be done and places I want to take this tool:
- Validate serialization and deserialization works across the bridge
- add logging across the board, both during gen and runtime
- improve error DX
- improve host error type
- structured serialization for results
- handle errors even when return type is not
result
optionally disabled throughunchecked
- reduce reliance on extern crates in rust runtime code (
wasm_bindgen
andserde
). Movewasm_bindgen
macro use intoguest-rust
and only use exportedasync fn send<T: Serialize>(T)
function - improve integration with Tauri (possibly through a WIP impl of the new IPC routing system?)
- switch
tauri-sys
and try implementing the Tauri API - add optional tracing to
gen-host
- fork
wit-parser
and remove worlds & exports - publish to crates.io
- explore binary serialization of types instead of JSON
- explore adding the
stream
type defined by wit - explore adding back exports (functions exposed from JS to Rust)
- explore platform specific codegen
Jonas Kruckenberg commented
Moved to TODO.md