Crate tauri_macros

source ·
Expand description

Create macros for tauri::Context, invoke handler and commands leveraging the tauri-codegen crate.

Macros

  • Reads a Tauri config file and generates a ::tauri::Context based on the content.
  • Accepts a list of commands functions. Creates a handler that allows commands to be called from JS with invoke().

Attribute Macros