mirror of
https://github.com/tauri-apps/tauri-bindgen.git
synced 2026-01-31 00:45:21 +01:00
1.2 KiB
1.2 KiB
General
- add logging across the board, both during gen and runtime
- publish to crates.io
CLI
- add napi bindings
Host
- improve host error type
- improve integration with Tauri (possibly through a WIP impl of the new IPC routing system?)
Guest Rust
- handle errors even when return type is not result optionally disabled through unchecked
- reduce reliance on extern crates in rust runtime code (
wasm_bindgenandserde).
Guest JavaScript
- fix serialization of number array types
- How should
Resulttypes be represented in JavaScript? Should errors be flattened and thrown indiscriminately or should they be represented as objects? - better representation for general variant types
Guest Typescript
- Better way to represent
ResultandOptionthan the current rather clunky way - Adopt the same handling of error types as the JavaScript guest
- better representation for general variant types
Roadmap
rollup-plugin-tauri-bindgen- switch
tauri-sysand try implementing the Tauri API - explore adding the
streamtype defined by wit - explore adding back exports (functions exposed from JS to Rust)
- explore platform specific codegen