#invoke #tauri

tauri-invoke

A simple way to call tauri's invokes from rust wasm

3 unstable releases

0.2.0 Mar 7, 2023
0.1.1 Sep 1, 2022
0.1.0 Sep 1, 2022

#756 in WebAssembly

MIT/Apache

7KB
54 lines

Tauri invoke

Crates.io Documentation

Misc

If the name 'tauri-invoke' is needed for the main tauri project. Please reach out to me and i will republish this crate under another name.


lib.rs:

A simple way to call invoke in tauri from rust.

// define an invoke
tauri_invoke::invoke!(async fn example_invoke(foo: f32, bar: bool) -> String);

// call the invoke
let future = example_invoke(1.0, false);

Dependencies

~1.4–3.5MB
~68K SLoC