mxivideo/src-tauri/src/commands/basic.rs

5 lines
120 B
Rust

#[tauri::command]
pub fn greet(name: &str) -> String {
format!("Hello, {}! You've been greeted from Rust!", name)
}