feat: restructure tools directory
新結構: - tools/script/ (Python 處理器腳本) - tools/cli/ (Swift/Rust CLI 工具) 遷移內容: - Python 腳本: ASR, Face, Pose, Cut, OCR, VLM, Embedding, Identity - Swift CLI: 24 個 Swift 處理器和測試文件 - Rust CLI: Face Cluster, Appearance, Pose 保留向後兼容: - 舊路徑 scripts/ 仍然存在 - 環境變數可配置新路徑 文檔: - tools/README.md - docs_v1.0/DESIGN/Tools_Directory_Restructure.md
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
[package]
|
||||
name = "rust_processors"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "Rust replacement for Python processor scripts (standalone binaries)"
|
||||
|
||||
[[bin]]
|
||||
name = "rust_appearance"
|
||||
path = "src/bin/rust_appearance.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "rust_pose"
|
||||
path = "src/bin/rust_pose.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "rust_face_cluster"
|
||||
path = "src/bin/rust_face_cluster.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "rust_vad"
|
||||
path = "src/bin/rust_vad.rs"
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
image = "0.25"
|
||||
ureq = { version = "2", features = ["json"] }
|
||||
|
||||
# VAD dependencies
|
||||
ort = { version = "2.0.0-rc.13", features = ["download-binaries"] }
|
||||
hound = "3.5"
|
||||
ndarray = "0.17"
|
||||
anyhow = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3"
|
||||
|
||||
[profile.release]
|
||||
opt-level = 2
|
||||
Reference in New Issue
Block a user