Debian Codegraph @

debian/patches/2001_no_mac.patch

raw symbols SCIP
1 Description: avoid mac-specific crate dependencies
2 Author: Jonas Smedegaard <[email protected]>
3 Forwarded: not-needed
4 Last-Update: 2024-09-07
5 ---
6 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
7 --- a/Cargo.toml
8 +++ b/Cargo.toml
9 @@ -25,7 +25,6 @@
10 "z",
11 # "preview-macos-un"
12 ]
13 -preview-macos-un = ["dep:mac-usernotifications"]
14 # server = []
15 d = ["dbus"]
16 d_vendored = ["dbus/vendored"]
17 @@ -50,11 +49,6 @@
18 env_logger = { version = "0.11", optional = true } # TODO: remove from here
19 futures-lite = { version = "2.6.1" }
20
21 -[target.'cfg(target_os="macos")'.dependencies]
22 -mac-notification-sys = "0.6.15"
23 -mac-usernotifications = { version = "0.3.1", optional = true }
24 -chrono = { version = "0.4", optional = true }
25 -
26 [target.'cfg(target_os="windows")'.dependencies]
27 winrt-notification = { package = "tauri-winrt-notification", version = "0.7" }
28
29 @@ -68,11 +62,6 @@
30 version = "1.13.2"
31 features = ["attributes"]
32
33 -[target.'cfg(target_os="macos")'.dev-dependencies]
34 -oslog = "0.2"
35 -objc2-foundation = "0.3.2"
36 -
37 -
38 [package.metadata.bundle]
39 name = "notify-rust-example"
40 identifier = "de.hoodie.notify-rust.example"