Skip to main content

Module toml_config

Module toml_config 

Source
Expand description

TOML-based config parser for .rippy.toml files.

Parses structured TOML config into Vec<ConfigDirective> that feeds into the same Config::from_directives() path as the legacy line-based parser.

Structs§

TomlAlias
An alias entry from the [[aliases]] array.
TomlCd
Configuration for cd directory navigation.
TomlConfig
Top-level structure of a .rippy.toml file.
TomlGit
Git workflow style configuration.
TomlGitBranch
A branch-specific git style override.
TomlMeta
Metadata section for packages and config files.
TomlRule
A single rule entry from the [[rules]] array.
TomlSettings
Global settings section.

Functions§

parse_toml_config
Parse a TOML config string into a list of directives.
rules_to_toml
Serialize a list of directives into TOML format.