2026-10-02 14:48:52 +01:00
|
|
|
[package]
|
|
|
|
|
name = "tsunagi-tray"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
description = "Tray application to manage a running tsunagi agent."
|
|
|
|
|
edition.workspace = true
|
|
|
|
|
rust-version.workspace = true
|
|
|
|
|
license.workspace = true
|
|
|
|
|
repository.workspace = true
|
|
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
|
name = "tsunagi-tray"
|
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
# The agent control client and the report types: the GUI is a thin client over
|
|
|
|
|
# the same local control interface the CLI uses, so it reuses these directly
|
|
|
|
|
# and never re-implements the protocol.
|
|
|
|
|
tsunagi = { path = "../tsunagi", version = "0.1.0" }
|
|
|
|
|
# Native, lightweight GUI — no web engine. eframe re-exports egui.
|
|
|
|
|
eframe = { version = "0.31", default-features = false, features = ["default_fonts", "glow", "wayland", "x11"] }
|
|
|
|
|
# Cross-platform tray icon + menu (Windows tray, macOS menu bar, Linux SNI).
|
|
|
|
|
tray-icon = "0.21"
|
|
|
|
|
# Background worker that talks to the agent off the UI thread.
|
|
|
|
|
tokio = { version = "1.53", features = ["rt", "rt-multi-thread", "sync", "time", "macros"] }
|
|
|
|
|
tracing.workspace = true
|
|
|
|
|
tracing-subscriber.workspace = true
|
|
|
|
|
|
2026-10-02 15:08:29 +01:00
|
|
|
# macOS only: set the app's activation policy to Accessory so it lives in the
|
|
|
|
|
# menu bar with no Dock icon. Pinned to eframe's winit so the types unify.
|
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
|
|
|
winit = "0.30"
|
|
|
|
|
|
2026-10-02 14:48:52 +01:00
|
|
|
[lints]
|
|
|
|
|
workspace = true
|