Files
ShowenV2/Cargo.toml
showen 0709d0de05 ceo: 完成configs迁移和main.rs插件注册
- 从旧项目复制dog_state_machine.json和cat_state_machine.json
- 实现main.rs完整插件注册(screen, wifi, video, ble, http)
- 添加命令行参数支持(--config, --validate)
- 实现Ctrl+C优雅退出
- 添加ctrlc依赖
2026-03-12 07:15:21 +08:00

24 lines
598 B
TOML

[package]
name = "showen_v2"
version = "0.2.0"
authors = ["showen"]
edition = "2018"
[dependencies]
anyhow = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rand = "0.8"
ctrlc = "3"
# 跨平台插件依赖
opencv = { version = "0.66", default-features = false, features = ["highgui", "imgproc", "videoio"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "process", "sync"] }
warp = { version = "0.3.7", default-features = false, features = ["multipart"] }
bytes = "1"
futures-util = "0.3"
# Linux 特有插件依赖
dbus = "0.9"
dbus-crossroads = "0.5"