Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶
Source reconstructed at patch state 2 of 4 — not the installed (fully patched) source.
4 Debian patches touch this file
1 [package]
2 name = "notify-rust"
3 version = "4.18.0"
4 authors = ["Hendrik Sollich <[email protected]>"]
5 description = "Show desktop notifications (linux, bsd, mac). Pure Rust dbus client and server."
6 repository = "https://github.com/hoodie/notify-rust"
7 documentation = "https://docs.rs/notify-rust/"
8 edition = "2021"
9 rust-version = "1.89.0"
10 license = "MIT OR Apache-2.0"
11 keywords = ["desktop", "notification", "notify", "linux", "macos"]
12 readme = "README.md"
13 include = [
14 "README.md",
15 "History.md",
16 "CHANGELOG.md",
17 "LICENSE-*",
18 "Cargo.toml",
19 "src/**/*.rs",
20 "tests/*.rs",
21 ]
22
23 [features]
24 default = [
25 "z",
26 # "preview-macos-un"
27 ]
28 # server = []
29 d = ["dbus"]
30 z = ["zbus", "serde", "async"]
31 z-with-tokio = ["zbus", "serde", "tokio"]
32 async = ["zbus/async-io"]
33 tokio = ["zbus/tokio"]
34 debug_namespace = []
35 images = ["images_no_default_features", "image/rayon", "image/default-formats"]
36 images_no_default_features = ["image", "lazy_static"]
37
38
39 [dependencies]
40 log = "0.4"
41
42 [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
43 dbus = { version = "0.9", optional = true }
44 lazy_static = { version = "1.5", optional = true }
45 image = { version = "0.25", optional = true, default-features = false }
46 zbus = { version = "5", optional = true, default-features = false }
47 serde = { version = "1", features = ["derive"], optional = true }
48 env_logger = { version = "0.11", optional = true } # TODO: remove from here
49 futures-lite = { version = "2.6.1" }
50
51 [target.'cfg(target_os="windows")'.dependencies]
52 winrt-notification = { package = "tauri-winrt-notification", version = "0.7" }
53
54 [dev-dependencies]
55 color-backtrace = "0.7" # wait for MSVR 1.70 to update
56 env_logger = "0.11"
57 maplit = "1.0"
58 cfg-if = "1.0"
59
60 [dev-dependencies.async-std]
61 version = "1.13.2"
62 features = ["attributes"]
63
64 [package.metadata.bundle]
65 name = "notify-rust-example"
66 identifier = "de.hoodie.notify-rust.example"
67 version = "4"
68 short_description = "notify-rust example"
69
70 [[example]]
71 name = "interruption_level"
72 path = "examples/interruption_level.rs"
73 required-features = ["preview-macos-un"]
74
75 [[example]]
76 name = "images"
77 path = "examples/images.rs"
78 required-features = ["images"]
79
80 [[example]]
81 name = "schedule"
82 path = "examples/schedule.rs"
83 required-features = ["chrono"]
84
85 [[example]]
86 name = "wait_for_closing_async"
87 path = "examples/wait_for_closing_async.rs"
88 required-features = ["async"]
89
90 [[example]]
91 name = "simple_async"
92 path = "examples/simple_async.rs"
93 required-features = ["async"]