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.jsonat compile time and generate the Config struct.
Modules§
Structs§
- Config
- 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.
- Context
Data - Necessary data needed by
context_codegento generate code for a Tauri application context.
Enums§
- Codegen
Config Error - Represents all the errors that can happen while reading the config during codegen.
- Config
Error - Represents all the errors that can happen while reading the config.
Functions§
- context_
codegen - Build a
tauri::Contextfor including in application code. - get_
config - Get the
Configfrom theTAURI_CONFIGenvironmental variable, or read from the passed path.