Set package versions and internal dependency requirements to 1.0.2 throughout the workspace, lockfile, Android app and Nix package. The optional link comparison uses the existing mesh wire versions. Upgrade the CLI and tray with the local agent for IPC v24. Checked locked Cargo metadata and tsng --version. Workspace formatting and strict Clippy passed on macOS, and 568 tests passed with three opt-in checks skipped by default. Native elevated macOS utun and Windows Wintun source selection passed on hosted runners. Verified Linux kernel source selection in a disposable network namespace and bidirectional UDP and system ping on an Android API 37 ARM64 emulator.
45 lines
1.8 KiB
TOML
45 lines
1.8 KiB
TOML
[package]
|
|
name = "tsunagi-tray"
|
|
version = "1.0.2"
|
|
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]
|
|
tsunagi-ui = { path = "../tsunagi-ui" }
|
|
# 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-core = { path = "../tsunagi-core", version = "1.0.2" }
|
|
# 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).
|
|
# libxdo only implements predefined Copy/Cut/Paste/SelectAll menu actions,
|
|
# which this tray does not use. Avoid a distro-specific libxdo SONAME dependency.
|
|
tray-icon = { version = "0.21", default-features = false }
|
|
# 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
|
|
egui-phosphor = "0.9"
|
|
|
|
# Linux only: tray-icon (already GTK-based there) needs the app to initialise
|
|
# GTK and run its main loop.
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
gtk = "0.18"
|
|
|
|
# Windows and macOS: the tray process has no GUI toolkit, only an event loop to
|
|
# serve the icon (and, on macOS, the Accessory activation policy that keeps it
|
|
# out of the Dock). Pinned to eframe's winit so the types unify.
|
|
[target.'cfg(any(windows, target_os = "macos"))'.dependencies]
|
|
winit = "0.30"
|
|
|
|
[lints]
|
|
workspace = true
|