Add Cargo.toml with core dependencies

This commit is contained in:
2026-03-19 00:31:04 +08:00
parent 2ff42eb110
commit f1b361bbe7

48
Cargo.toml Normal file
View File

@@ -0,0 +1,48 @@
[package]
name = "momentry_playground"
version = "0.1.0"
edition = "2021"
description = "MoMentry 主視窗應用 - 統一播放、檢視、監控於一體"
authors = ["Warren Lo <warren@accusys.com.tw>"]
license = "MIT"
[[bin]]
name = "momentry"
path = "src/main.rs"
[lib]
name = "momentry_playground"
path = "src/lib.rs"
[dependencies]
# 桌面窗口管理
tao = "0.30"
wry = "0.54"
# 視頻/音頻
sdl2 = "0.38"
ffmpeg-sidecar = "2.4"
# 錯誤處理
anyhow = "1.0"
thiserror = "2.0"
# 序列化
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# 異步
tokio = { version = "1", features = ["full"] }
# HTTP 客戶端
reqwest = { version = "0.12", features = ["json"] }
# 日誌
log = "0.4"
env_logger = "0.11"
# 工具
clap = { version = "4.5", features = ["derive"] }
dirs = "6"
md5 = "0.7"
chrono = "0.4"