Crate tauri_plugin_async_wrapper

Crate tauri_plugin_async_wrapper 

Source

Attribute Macrosยง

async_wrapper
A procedural macro that wraps a function with an asynchronous runtime using spawn_blocking. This macro converts a synchronous function into an asynchronous one and registers it as a Tauri command.