About
Interact with a Tauri backend using the pure Rust library. You don't need NPM or any other JavaScript tools to build a frontend, use Cargo instead.
This crate is designed for Tauri version 2.0 and above.
Getting Started
Let's write the frontend part:
use ;
pub async
When wasm_bindgen
attribute exports our start
function to the JS runtime, we can call it from frontend.
On the backend part let's write this:
// define the "hello" command
// configure the backend
For more details, see the example in the repository.