添加 选项,启动调试时自动生成带时间戳的新存档目录 (格式 MC_DEV_WORLD_YYYYMMDD_HHMMSS)并持久化到 .mcdev.json。 - 新增 local_timestamp_compact() 跨平台本地时间格式化 - 新增 allocate_new_world() 更新配置并落盘 - 补充单元测试验证存档名格式与持久化正确性
34 lines
804 B
TOML
34 lines
804 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = []
|
|
|
|
[package]
|
|
name = "emod-cli"
|
|
version = "0.1.0-dev"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5.32", features = ["derive"] }
|
|
uuid = { version = "1.4", features = ["v4", "fast-rng", "macro-diagnostics"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.8"
|
|
zip = "2.2.2"
|
|
walkdir = "2"
|
|
regex = "1.10"
|
|
rand = "0.8"
|
|
windows-sys = { version = "0.59", features = [
|
|
"Win32_Foundation",
|
|
"Win32_Networking_WinSock",
|
|
"Win32_Security",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_System_Console",
|
|
"Win32_System_Environment",
|
|
"Win32_System_IO",
|
|
"Win32_System_Pipes",
|
|
"Win32_System_SystemServices",
|
|
"Win32_System_SystemInformation",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
] }
|