diff options
Diffstat (limited to 'mingling_core/src/program/config.rs')
| -rw-r--r-- | mingling_core/src/program/config.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mingling_core/src/program/config.rs b/mingling_core/src/program/config.rs index dcab526..ac541fd 100644 --- a/mingling_core/src/program/config.rs +++ b/mingling_core/src/program/config.rs @@ -46,14 +46,24 @@ pub struct ProgramUserContext { #[cfg(feature = "general_renderer")] #[derive(Debug, Clone, Default)] +/// Settings for the general renderer output format. +/// +/// Controls how structured data (e.g., JSON, YAML, TOML) is rendered to stdout. pub enum GeneralRendererSetting { + /// Do not render structured output (use default formatting). #[default] Disable, + /// Render output as compact JSON. Json, + /// Render output as pretty-printed JSON. JsonPretty, + /// Render output as YAML. Yaml, + /// Render output as TOML. Toml, + /// Render output as RON. Ron, + /// Render output as pretty-printed RON. RonPretty, } |
