Crate tauri_codegen

Source
Expand description

  • Embed, hash, and compress assets, including icons for the app as well as the tray icon.
  • Parse tauri.conf.json at compile time and generate the Config struct.

Modules§

Structs§

  • The Tauri configuration object. It is read from a file where you can define your frontend assets, configure the bundler and define a tray icon.
  • Necessary data needed by context_codegen to generate code for a Tauri application context.

Enums§

  • Represents all the errors that can happen while reading the config during codegen.
  • Represents all the errors that can happen while reading the config.

Functions§

  • Build a tauri::Context for including in application code.
  • Get the Config from the TAURI_CONFIG environmental variable, or read from the passed path.