Files
playit-agent/packages/playitd/Cargo.toml
T
Patrick Lorio 2699faf8e9 Add Windows tray debug console logging
- Add an optional `--debug-console` mode for the tray process
- Attach or allocate a console and emit tray lifecycle logs
2026-04-13 16:45:53 -07:00

59 lines
1.6 KiB
TOML

[package]
name = "playitd"
version.workspace = true
edition = "2024"
authors = ["Patrick Lorio <patrick@playit.gg>"]
description = "Shared daemon, IPC, and service management for playit"
repository = "https://github.com/playit-cloud/playit-agent"
[dependencies]
tokio = { workspace = true }
tokio-util = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
tracing-appender = { workspace = true }
dirs = { workspace = true }
hex = { workspace = true }
toml = { workspace = true }
dotenv = "0.15.0"
interprocess = { version = "2.2", features = ["tokio"] }
service-manager = "0.10"
playit-agent-core = { path = "../agent_core", version = "0.17.1" }
playit-ipc = { path = "../playit-ipc", version = "0.17.1" }
playit-api-client = { path = "../api_client", version = "0.2.0" }
clap = { version = "4.6.0", features = ["derive"] }
serde_yaml = "0.9.34"
[[bin]]
name = "playitd"
path = "src/bin/playitd.rs"
[[bin]]
name = "playitd-service"
path = "src/bin/playitd-service.rs"
[[bin]]
name = "playitd-tray"
path = "src/bin/playitd-tray.rs"
[target."cfg(windows)".dependencies]
image = { version = "0.25", default-features = false, features = ["ico"] }
tray-icon = "0.22"
windows-service = "0.8.0"
windows-sys = { version = "0.59.0", features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_Console",
"Win32_System_Com",
"Win32_System_LibraryLoader",
"Win32_Security",
"Win32_System_Services",
"Win32_System_Threading",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
] }