tauri-apps/tauri-bindgen

Roadmap & Todo

JonasKruckenberg opened this issue · 1 comments

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 through unchecked
  • reduce reliance on extern crates in rust runtime code (wasm_bindgen and serde). Move wasm_bindgen macro use into guest-rust and only use exported async 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