Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶
Source reconstructed at patch state 1 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 d_vendored = ["dbus/vendored"]
31 z = ["zbus", "serde", "async"]
32 z-with-tokio = ["zbus", "serde", "tokio"]
33 async = ["zbus/async-io"]
34 tokio = ["zbus/tokio"]
35 debug_namespace = []
36 images = ["images_no_default_features", "image/rayon", "image/default-formats"]
37 images_no_default_features = ["image", "lazy_static"]
38
39
40 [dependencies]
41 log = "0.4"
42
43 [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
44 dbus = { version = "0.9", optional = true }
45 lazy_static = { version = "1.5", optional = true }
46 image = { version = "0.25", optional = true, default-features = false }
47 zbus = { version = "5", optional = true, default-features = false }
48 serde = { version = "1", features = ["derive"], optional = true }
49 env_logger = { version = "0.11", optional = true } # TODO: remove from here
50 futures-lite = { version = "2.6.1" }
51
52 [target.'cfg(target_os="windows")'.dependencies]
53 winrt-notification = { package = "tauri-winrt-notification", version = "0.7" }
54
55 [dev-dependencies]
56 color-backtrace = "0.7" # wait for MSVR 1.70 to update
57 env_logger = "0.11"
58 maplit = "1.0"
59 cfg-if = "1.0"
60
61 [dev-dependencies.async-std]
62 version = "1.13.2"
63 features = ["attributes"]
64
65 [package.metadata.bundle]
66 name = "notify-rust-example"
67 identifier = "de.hoodie.notify-rust.example"
68 version = "4"
69 short_description = "notify-rust example"
70
71 [[example]]
72 name = "interruption_level"
73 path = "examples/interruption_level.rs"
74 required-features = ["preview-macos-un"]
75
76 [[example]]
77 name = "images"
78 path = "examples/images.rs"
79 required-features = ["images"]
80
81 [[example]]
82 name = "schedule"
83 path = "examples/schedule.rs"
84 required-features = ["chrono"]
85
86 [[example]]
87 name = "wait_for_closing_async"
88 path = "examples/wait_for_closing_async.rs"
89 required-features = ["async"]
90
91 [[example]]
92 name = "simple_async"
93 path = "examples/simple_async.rs"
94 required-features = ["async"]