主要修复内容: 1. 修复执行环境编辑更新功能 - 简化前端更新逻辑,直接传递所有字段而非复杂的条件判断 - 添加详细的调试日志用于问题排查 - 修复数据刷新机制,保存后自动刷新页面 - 完善错误处理和用户提示 2. 修复编译错误 - 修复 sysinfo 0.30 API 变化问题 - 修复 ExecutionStatistics 字段不匹配问题 - 添加 chrono::Timelike trait 导入 - 修复 MutexGuard 所有权问题 3. 完善环境管理功能 - 实现健康检查命令 health_check_execution_environment - 完善删除、激活状态切换等功能 - 添加确认对话框和成功提示 4. 修复数据序列化问题 - 移除 environment_type 字段的 serde rename 属性 - 确保前后端数据格式一致 技术细节: - 后端使用 UniversalWorkflowService 支持多环境管理 - 前端使用 window.location.reload() 临时解决数据刷新问题 - 添加详细日志便于调试和问题排查
72 lines
2.0 KiB
TOML
72 lines
2.0 KiB
TOML
[package]
|
|
name = "mixvideo-desktop"
|
|
version = "0.2.1"
|
|
description = "MixVideo Desktop Application"
|
|
authors = ["imeepos <imeepos@outlook.com>"]
|
|
edition = "2021"
|
|
default-run = "mixvideo-desktop"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
# The `_lib` suffix may seem redundant but it is necessary
|
|
# to make the lib name unique and wouldn't conflict with the bin name.
|
|
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
|
|
name = "mixvideo_desktop_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = ["protocol-asset"] }
|
|
tauri-plugin-opener = "2"
|
|
tauri-plugin-fs = "2"
|
|
tauri-plugin-dialog = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
serde_yaml = "0.9"
|
|
rusqlite = { version = "0.31", features = ["bundled", "chrono"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
uuid = { version = "1.0", features = ["v4", "serde"] }
|
|
tokio = { version = "1.0", features = ["full", "sync"] }
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
dirs = "5.0"
|
|
md5 = "0.7"
|
|
lazy_static = "1.4"
|
|
base64 = "0.22"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "chrono"] }
|
|
tracing-appender = "0.2"
|
|
reqwest = { version = "0.11", features = ["json", "multipart"] }
|
|
image = { version = "0.24", features = ["jpeg", "png", "webp", "bmp", "tiff", "gif"] }
|
|
toml = "0.8"
|
|
tree-sitter = "0.20"
|
|
tree-sitter-json = "0.20"
|
|
# tree-sitter-markdown = "0.7.1" # 暂时禁用,存在版本冲突
|
|
pulldown-cmark = "0.9"
|
|
regex = "1.10"
|
|
num_cpus = "1.16"
|
|
tokio-tungstenite = "0.20"
|
|
futures-util = "0.3"
|
|
rand = "0.8"
|
|
hmac = "0.12.1"
|
|
sha2 = "0.10.9"
|
|
hex = "0.4.3"
|
|
url = "2.5.4"
|
|
urlencoding = "2.1"
|
|
bincode = "1.3"
|
|
zip = "0.6"
|
|
sysinfo = "0.30"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3", features = ["sysinfoapi"] }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.8"
|
|
tokio-test = "0.4"
|
|
bincode = "1.3"
|
|
zip = "0.6"
|
|
|