Add Cargo.toml with core dependencies
This commit is contained in:
48
Cargo.toml
Normal file
48
Cargo.toml
Normal 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"
|
||||
Reference in New Issue
Block a user