tauri-macros@1.0.0-beta.0
May 11, 2021
- Only commands with a
async fnare executed on a separate task.#[command] fn command_nameruns on the main thread. #[command]now generates a macro instead of a function to allow passing throughParamsand other generics.generate_handler!has been changed to consume the generated#[command]macro- Improves support for commands returning
Result. - Adds support to command state, triggered when a command argument is
arg: State<'_, StateType>.
© 2026 Tauri Contributors. CC-BY / MIT