diff options
Diffstat (limited to 'mingling_core/src/program')
| -rw-r--r-- | mingling_core/src/program/config.rs | 10 | ||||
| -rw-r--r-- | mingling_core/src/program/string_vec.rs | 1 |
2 files changed, 11 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, } diff --git a/mingling_core/src/program/string_vec.rs b/mingling_core/src/program/string_vec.rs index 478ad74..fd0e2cb 100644 --- a/mingling_core/src/program/string_vec.rs +++ b/mingling_core/src/program/string_vec.rs @@ -1,4 +1,5 @@ #[derive(Debug, Clone)] +#[doc(hidden)] pub struct StringVec { vec: Vec<String>, } |
