[package]
name = "tauri-app"
version = "1.6.7"
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", "devtools"] }
tauri-plugin-opener = "2"
tauri-plugin-shell = "2"
tauri-plugin-fs = "2"
tauri-plugin-dialog = "2"
tauri-plugin-updater = "2"
tauri-plugin-process = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
log = "0.4"
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", "sync"] }
tauri-plugin-single-instance = "2"

