Use tta crate from tauri app
This commit is contained in:
parent
90c48d4723
commit
aab7973928
4 changed files with 7 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// Learn more about Tauri commands at https://tauri.app/develop/calling-rust/
|
||||
#[tauri::command]
|
||||
fn greet(name: &str) -> String {
|
||||
format!("Hello, {}! You've been greeted from Rust!", name)
|
||||
tta::greet(name)
|
||||
}
|
||||
|
||||
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue