[workspace]
members = [".", "plugin-sdk", "plugins/example-plugin"]

[package]
name = "showen_v2"
version = "0.2.0"
authors = ["showen"]
edition = "2021"
rust-version = "1.70"
description = "ShowenV2 digital life window platform - plugin microkernel architecture"
license = "MIT"
publish = false

[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", "websocket"] }
bytes = "1"
futures-util = "0.3"

# Linux 特有插件依赖
dbus = "0.9"
dbus-crossroads = "0.5"

# 动态插件加载
libloading = "0.8"

# 远程插件仓库
ureq = "2"
flate2 = "1"
tar = "0.4"
semver = "1"
