refactor: 拆分代码结构为 lib.rs 与多模块架构
- 将核心业务逻辑抽离至 lib.rs,精简 main.rs 为纯粹的 CLI 入口 - 将代码按职责拆分为 config、env、runtime、shim 等子模块 - 提高可测试性与代码复用度
This commit is contained in:
@@ -6,10 +6,8 @@ use std::{
|
||||
process::{Command, exit},
|
||||
ptr::null_mut,
|
||||
};
|
||||
mod shims;
|
||||
mod error;
|
||||
|
||||
use shims::Shim;
|
||||
use rshim::Shim;
|
||||
|
||||
use winapi::{
|
||||
shared::minwindef::{BOOL, DWORD, FALSE, TRUE},
|
||||
|
||||
Reference in New Issue
Block a user