Skip to main content Link Search Menu Expand Document (external link)

config.toml

Throughout the source tree you will find files called config.toml. These files are collected, parsed and used for code generation during the build process.

This page is meant to document how config.toml files are used - if you are interested in the actual implementation check out palliate/config.

Format

Each config.toml file may define subtables within these tables:

Example:

[build.test]
  type = "application"
  version = "v0.1.0"

[config.foobar]
  [[config.foobar.settings]]
    name = "foo"
    type = "bool"
    cli = true
    default = false

[resource.icon]
path = "app/icon.ico"

Table of contents