[package]
edition = "2024"
name = "tray-wrapper"
version = "0.4.1"
authors = ["Christopher Hotchkiss <chris@hotchkiss.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple wrapper library to make it easy to run servers with a GUI tray icon"
readme = "README.md"
categories = ["gui"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/chotchki/tray-wrapper"
[lib]
name = "tray_wrapper"
path = "src/lib.rs"
[[example]]
name = "axum"
path = "examples/axum.rs"
[[test]]
name = "ui_basic"
path = "ui_tests/basic.rs"
harness = false
[[test]]
name = "ui_restart"
path = "ui_tests/restart.rs"
harness = false
[dependencies.image]
version = "0.25.5"
[dependencies.take-once]
version = "0.1.3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
]
[dependencies.tokio-util]
version = "0.7"
[dependencies.tray-icon]
version = "0.21.0"
[dependencies.winit]
version = "0.30"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.axum]
version = "0.8.1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
]
[target.'cfg(target_os = "linux")'.dependencies.glib]
version = "0.21.1"
[target.'cfg(target_os = "linux")'.dependencies.gtk]
version = "0.18"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.1"