Configuration reference
Breadbox configuration is optional. If <project-root>/breadbox.toml does not exist and you do not
pass --config, Breadbox uses defaults. init creates a config that pins breadbox-version to the
installed CLI.
The file is TOML. Use the keys shown in the reference. Unsupported keys are errors.
[linux.desktop] accepts your own entry keys and [linux.desktop.actions] adds desktop actions.
[linux.icons] uses size keys that you choose.
Strings can contain ${namespace:key} tokens. See Interpolation.
Which keys you need depends on the formats you select. A raw-only build needs no extra config.
Linux package formats need shared fields in [linux] and, for some formats, fields in Cargo.toml.
Path rules
Absolute paths are used as written. Relative paths are joined to the absolute project root, even when
the config file is elsewhere. Install destinations are absolute virtual paths inside the package.
Breadbox removes the leading / when it places files.
Chapters
- Root keys: top-level fields and test settings.
- Components: license files and browser registration.
- Linux settings: shared fields, icons, desktop entries and actions.
- Install files: extra files placed in packages.
- Format sections:
[formats.<name>]options. - Interpolation:
${config:},${manifest:}and${build:}tokens.