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