40 lines
1023 B
TOML
40 lines
1023 B
TOML
[workspace]
|
|
members = [
|
|
"health-core",
|
|
"health-cli",
|
|
"health-daemon",
|
|
"health-tray",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
version = "0.4.0"
|
|
edition = "2021"
|
|
authors = ["Health Guardian Contributors"]
|
|
license = "MIT"
|
|
|
|
# 统一依赖版本,各 crate 通过 workspace = true 引用
|
|
[workspace.dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
toml = "0.8"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
anyhow = "1"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
notify-rust = "4"
|
|
rodio = { version = "0.19", default-features = false, features = ["wav", "mp3"] }
|
|
dirs = "5"
|
|
colored = "2"
|
|
clap = { version = "4", features = ["derive"] }
|
|
# tray-item 仅在 tray crate 中使用
|
|
tray-item = { version = "0.7" }
|
|
|
|
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|