Skip to content
Skip to Content

[plugins]

Activated plugins: one table per plugin, named after its namespace and plugin name.

The [plugins] table activates plugins. It holds one sub-table per plugin, named "<namespace>/<plugin>". A plugin of the distribution that is not listed runs no code. This release links only the test-only distribution, whose single plugin is test/ticker:

scenario.toml
[plugins."test/ticker"]

Problems with this table stop the run before anything is written:

  • E1016: Plugin id <plugin> under [plugins] is not of the form "<namespace>/<plugin>".
  • E1017: Plugin <plugin> is not in this distribution.
  • E1018: Plugin <plugin> runs in phase <phase>, which is not in phases.order.
  • E1020: Plugin <plugin> runs only at its native <native> step, but time.step is <step>.
  • E1021: The plugins of phase <phase> must run in a contradictory order: <cycle>.

Pending

Plugin configuration keys ([plugins."<namespace>/<plugin>".config]) and the choice of variants come with a later release. When they exist, each key of each plugin gets its own page here, generated from the plugin's manifest.

Generated from crates/cohortix-kernel/src/scenario/config.rs. Do not edit. This page (table [plugins]) is built from the engine sources at every documentation build. To change it, edit kernel_groups() and the plugin manifests and open a pull request.

On this page

You are reading the docs for 0.1. Keys can change between versions: use the version that matches cohortix --version.