From b18749170b6006e53976dbb6df9f59a3b9c34127 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 10 Apr 2026 16:47:40 +0800 Subject: Add completion macro infrastructure without logic --- mingling_core/src/asset/comp/shell_ctx.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'mingling_core/src/asset/comp/shell_ctx.rs') 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, -- cgit