1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
[package]
name = "notify-rust"
version = "4.11.6"
authors = ["Hendrik Sollich <hendrik@hoodie.de>"]
description = "Show desktop notifications (linux, bsd, mac). Pure Rust dbus client and server."
repository = "https://github.com/hoodie/notify-rust"
documentation = "https://docs.rs/notify-rust/"
edition = "2021"
rust-version = "1.63.0"
license = "MIT/Apache-2.0"
keywords = ["desktop", "notification", "notify", "linux", "macos"]
readme = "README.md"
include = [
"README.md",
"History.md",
"CHANGELOG.md",
"LICENSE-*",
"Cargo.toml",
"src/**/*.rs",
"tests/*.rs"
]
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
dbus = { version = "0.9", optional = true }
lazy_static = { version = "1.5", optional = true }
image = { version = "0.25", optional = true }
zbus = { version = "5", optional = true }
serde = { version = "1", optional = true }
log = "0.4"
futures-lite = { version = "2.3.0"}
[target.'cfg(target_os="windows")'.dependencies]
winrt-notification = { package = "tauri-winrt-notification", version = "0.2" }
[features]
default = ["z"]
# server = []
d = ["dbus"]
d_vendored = ["dbus/vendored"]
z = ["zbus", "serde", "async"]
async = []
debug_namespace = []
images = ["image", "lazy_static"]
[dev-dependencies]
maplit = "1.0"
[dev-dependencies.async-std]
version = "1.12.0"
features = ["attributes"]
[[example]]
name = "images"
path = "examples/images.rs"
required-features = ["images"]
[[example]]
name = "schedule"
path = "examples/schedule.rs"
required-features = ["chrono"]
[[example]]
name = "wait_for_closing_async"
path = "examples/wait_for_closing_async.rs"
required-features = ["async"]
[[example]]
name = "simple_async"
path = "examples/simple_async.rs"
required-features = ["async"]
[dependencies]
futures-lite = "2.3.0"
|