# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "system-tray"
version = "0.8.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async `StatusNotifierItem` and `DBusMenu` client for custom tray implementations."
readme = "README.md"
keywords = [
    "statusnotifieritem",
    "dbusmenu",
    "tokio",
    "tray",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/jakestanger/system-tray"

[features]
data = []
dbusmenu-gtk3 = [
    "dep:gtk",
    "dep:dbusmenu-gtk3-sys",
]
default = ["data"]

[lib]
name = "system_tray"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[dependencies.cfg-if]
version = "1.0"

[dependencies.dbusmenu-gtk3-sys]
version = "0.1.0"
optional = true

[dependencies.futures-lite]
version = "2.6"

[dependencies.gtk]
version = "0.18.1"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "macros",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dependencies.zbus]
version = "5"
features = ["tokio"]
default-features = false

[dev-dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]

[dev-dependencies.tracing-subscriber]
version = "0.3.20"
