[package]
edition = "2021"
rust-version = "1.63.0"
name = "notify-rust"
version = "4.12.0"
authors = ["Hendrik Sollich <hendrik@hoodie.de>"]
build = false
include = [
"README.md",
"History.md",
"CHANGELOG.md",
"LICENSE-*",
"Cargo.toml",
"src/**/*.rs",
"tests/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Show desktop notifications (linux, bsd, mac). Pure Rust dbus client and server."
documentation = "https://docs.rs/notify-rust/"
readme = "README.md"
keywords = [
"desktop",
"notification",
"notify",
"linux",
"macos",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/hoodie/notify-rust"
[features]
async = ["zbus/async-io"]
d = ["dbus"]
d_vendored = ["dbus/vendored"]
debug_namespace = []
default = ["z"]
images = [
"image",
"lazy_static",
]
tokio = ["zbus/tokio"]
z = [
"zbus",
"serde",
"async",
]
z-with-tokio = [
"zbus",
"serde",
"tokio",
]
[lib]
name = "notify_rust"
path = "src/lib.rs"
[[test]]
name = "conversion"
path = "tests/conversion.rs"
[[test]]
name = "ownworld"
path = "tests/ownworld.rs"
[[test]]
name = "realworld"
path = "tests/realworld.rs"
[dependencies.futures-lite]
version = "2.6.0"
[dev-dependencies.async-std]
version = "1.12.0"
features = ["attributes"]
[dev-dependencies.color-backtrace]
version = "0.7"
[dev-dependencies.ctor]
version = "0.6"
[dev-dependencies.maplit]
version = "1.0"
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.dbus]
version = "0.9"
optional = true
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.env_logger]
version = "0.11"
optional = true
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.futures-lite]
version = "2.6.0"
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.image]
version = "0.25"
optional = true
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.lazy_static]
version = "1.5"
optional = true
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.log]
version = "0.4"
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.serde]
version = "1"
optional = true
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.zbus]
version = "5"
optional = true
default-features = false
[target.'cfg(target_os="macos")'.dependencies.chrono]
version = "0.4"
optional = true
[target.'cfg(target_os="macos")'.dependencies.mac-notification-sys]
version = "0.6"
[target.'cfg(target_os="windows")'.dependencies.winrt-notification]
version = "0.7"
package = "tauri-winrt-notification"