refactor(spec,loader): 优化项目结构,

- 提取公共方法
- 优化 Mirror FromLua trait 处理逻辑
- 新增 logger.rs 统一日志处理
- 其他优化
This commit is contained in:
2026-09-07 17:02:54 +08:00
parent 941558cb92
commit 94b4c23299
17 changed files with 1086 additions and 995 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ pub struct MrSubCommand {
/// 命令处理函数:必须是 Lua Function
pub(crate) module: String,
/// 命令行说明:必须是普通文本字符串
pub(crate) description: String,
pub(crate) description: String ,
}
impl FromLua for MrSubCommand {