diff options
Diffstat (limited to 'mingling_core/src/asset/comp/shell_ctx.rs')
| -rw-r--r-- | mingling_core/src/asset/comp/shell_ctx.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mingling_core/src/asset/comp/shell_ctx.rs b/mingling_core/src/asset/comp/shell_ctx.rs index 081337f..4771e63 100644 --- a/mingling_core/src/asset/comp/shell_ctx.rs +++ b/mingling_core/src/asset/comp/shell_ctx.rs @@ -4,6 +4,7 @@ use crate::ShellFlag; /// providing information about the current command line state /// to guide how completions should be generated. #[derive(Default, Debug)] +#[cfg_attr(feature = "general_renderer", derive(serde::Serialize))] pub struct ShellContext { /// The full command line (-f / --command-line) pub command_line: String, |
