host_usage!() { /* proc-macro */ }Expand description
Simple macro to include multiple imports (seperated by |) not in wasm
ยงExample
tauri_interop_macro::host_usage! {
use tauri::State;
| use std::sync::RwLock;
}
#[tauri_interop_macro::command]
pub fn empty_invoke(_state: State<RwLock<String>>) {}