89bc4b52 Arthur Meltonc1f59a62 Arthur Melton335dec98 Arthur Meltonc1f59a62 Arthur Melton335dec98 Arthur Meltondfc58611 Arthur Meltonc1f59a62 Arthur Meltondfc58611 Arthur Meltonc1f59a62 Arthur Meltonc1f59a62 Arthur Melton8b2d0277 Arthur Meltonc1f59a62 Arthur Melton335dec98 Arthur Melton89bc4b52 Arthur Melton335dec98 Arthur Melton8b2d0277 Arthur Melton335dec98 Arthur Melton8b2d0277 Arthur Meltondf6fb4e9 Arthur Melton8b2d0277 Arthur Meltonc1f59a62 Arthur Melton8b2d0277 Arthur Melton406fafb5 Arthur Melton8b2d0277 Arthur Meltonc1f59a62 Arthur Melton8b2d0277 Arthur Meltonc1f59a62 Arthur Meltonb90df7a0 Arthur Meltonc1f59a62 Arthur Meltonb90df7a0 Arthur Melton89bc4b52 Arthur Melton8b2d0277 Arthur Meltonb90df7a0 Arthur Melton8b2d0277 Arthur Melton89bc4b52 Arthur Melton406fafb5 Arthur Melton89bc4b52 Arthur Melton
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#![cfg_attr(
all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
)]
// Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
#[tauri::command]
fn greet(name: &str) -> String {
format!("Hello, {}! You've been greeted from Rust!", name)
}
fn main() {
tauri::Builder::default()
.invoke_handler(tauri::generate_handler![greet])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}