Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶
Source reconstructed at patch state 3 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 [dev-dependencies]
52 color-backtrace = "0.7" # wait for MSVR 1.70 to update
53 env_logger = "0.11"
54 maplit = "1.0"
55 cfg-if = "1.0"
56
57 [dev-dependencies.async-std]
58 version = "1.13.2"
59 features = ["attributes"]
60
61 [package.metadata.bundle]
62 name = "notify-rust-example"
63 identifier = "de.hoodie.notify-rust.example"
64 version = "4"
65 short_description = "notify-rust example"
66
67 [[example]]
68 name = "interruption_level"
69 path = "examples/interruption_level.rs"
70 required-features = ["preview-macos-un"]
71
72 [[example]]
73 name = "images"
74 path = "examples/images.rs"
75 required-features = ["images"]
76
77 [[example]]
78 name = "schedule"
79 path = "examples/schedule.rs"
80 required-features = ["chrono"]
81
82 [[example]]
83 name = "wait_for_closing_async"
84 path = "examples/wait_for_closing_async.rs"
85 required-features = ["async"]
86
87 [[example]]
88 name = "simple_async"
89 path = "examples/simple_async.rs"
90 required-features = ["async"]