pub struct Config {
pub active: Option<String>,
pub profiles: BTreeMap<String, Profile>,
pub rig: RigConfig,
pub rigs: BTreeMap<String, RigEntry>,
pub ui: UiConfig,
}Expand description
The whole config.toml. profiles is a BTreeMap so profile list
output — and therefore every golden — is deterministic by name.
Fields§
§active: Option<String>The profile commands operate on by default.
profiles: BTreeMap<String, Profile>Named gateway profiles ([profiles.NAME] tables).
rig: RigConfigRig family defaults ([rig] table — just the default rig name
today; 04-01).
rigs: BTreeMap<String, RigEntry>Named compose rigs ([rigs.NAME] tables — 04-01). Omitted from
serialization when empty so profile-only configs keep their exact
on-disk shape (the save goldens).
ui: UiConfigUI preferences ([ui] table — TUIX-05 plumbing). PLUMBING ONLY:
theme is carried on the config, never rendered (rendering is
Phase 12, TUIX-03/04). Omitted from serialization at defaults so
legacy configs round-trip byte-identically; a wrong-shaped [ui]
degrades to the default with a warning (see [lenient_ui]).