-
Notifications
You must be signed in to change notification settings - Fork 75
/
Cargo.toml
76 lines (66 loc) · 1.9 KB
/
Cargo.toml
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
74
75
76
[package]
name = "notify-rust"
version = "4.11.3"
authors = ["Hendrik Sollich <[email protected]>"]
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 = "4", optional = true }
serde = { version = "1", optional = true }
log = "0.4"
env_logger ={ version ="0.11", optional = true }
[target.'cfg(target_os="macos")'.dependencies]
mac-notification-sys = "0.6"
chrono = { version = "0.4", optional = true}
[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]
color-backtrace = "0.6" # wait for MSVR 1.70 to update
ctor = "0.2"
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"]