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.
- embedded_assets
- image
- 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.
- ContextData
- Necessary data needed by
context_codegen to generate code for a Tauri application context.
- CodegenConfigError
- Represents all the errors that can happen while reading the config during codegen.
- ConfigError
- Represents all the errors that can happen while reading the config.
- context_codegen
- Build a
tauri::Context for including in application code. - get_config
- Get the
Config from the TAURI_CONFIG environmental variable, or read from the passed path.