Tauri v2 Has a Free API — Here's How to Build Cross-Platform Desktop Apps

rust dev.to

Tauri v2 lets you build desktop and mobile apps using web technologies with a Rust backend. Apps are tiny ( Getting Started npm create tauri-app@latest cd my-app npm install npm run tauri dev Invoke Rust Commands from JavaScript // src-tauri/src/lib.rs #[tauri::command] fn greet(name: &str) -> String { format!("Hello, {}! You have been greeted from Rust!", name) } #[cfg_attr(mobile, tauri::mobile_entry_point)] pub fn run() { tauri::Builder::default()

Read Full Tutorial open_in_new
arrow_back Back to Tutorials