de7a6b734f
- 统一版本号管理(VERSION + scripts/bump-version.py) - 添加 GitLab CI/CD 前端多平台构建配置 - 替换应用图标为品牌 logo - 清理无效文件(tauri.svg, vite.svg, bg-config.json, audio/presets, .DS_Store) - 修复 ESLint 错误和全部 warnings - 清理 console.warn,保留 console.error - 更新 Cargo.toml 元数据(description + authors) - 更新 .gitignore(dist/, src-tauri/target/, binaries/) - authStore appVersion 改为动态获取(getVersion) - 修复 login 错误处理 - 将 FFmpeg sidecar 二进制移出 Git 跟踪(CI 构建时准备)
46 lines
1.5 KiB
TOML
46 lines
1.5 KiB
TOML
[package]
|
|
name = "tauri-app"
|
|
version = "1.5.15"
|
|
description = "美家卡智影 - AI 视频创作桌面应用"
|
|
authors = ["美家卡科技"]
|
|
edition = "2021"
|
|
|
|
# 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 = "tauri_app_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-shell = "2"
|
|
tauri-plugin-fs = "2"
|
|
tauri-plugin-dialog = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
dirs = "5"
|
|
# HTTP 客户端: 精简功能
|
|
# 使用 default-tls(默认)+ json,无需额外 features
|
|
reqwest = { version = "0.12", features = ["json", "multipart"] }
|
|
uuid = { version = "1", features = ["v4"] }
|
|
# base64: 使用 0.22 最新版
|
|
# 注意:Tauri 内部仍使用 0.21(通过 swift-rs),无法避免重复
|
|
base64 = "0.22"
|
|
# rand 已被移除: 代码中未直接使用,uuid 内部自带随机数生成
|
|
# chrono: 时间处理用于缓存索引
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
# 结构化错误类型
|
|
thiserror = "1"
|
|
# 文件锁(跨平台)
|
|
fs2 = "0.4"
|
|
# 异步运行时定时器(FFmpeg 超时保护)
|
|
tokio = { version = "1", features = ["time"] }
|
|
|