Skip to content

Commit 4709c34

Browse files
committed
inline notify-rust [skip ci]
1 parent df3fc7c commit 4709c34

23 files changed

Lines changed: 3750 additions & 19 deletions

.scripts/ci/check-license-header.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const ignore = [
2727
"api-iife.js",
2828
"init-iife.js",
2929
".build",
30+
"notify_rust"
3031
];
3132

3233
async function checkFile(file) {

Cargo.lock

Lines changed: 181 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/notification/Cargo.toml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,26 @@ time = { version = "0.3", features = [ "serde", "parsing", "formatting" ] }
2727
url = { version = "2", features = [ "serde" ] }
2828
serde_repr = "0.1"
2929

30-
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
31-
notify-rust = "4.5"
32-
3330
[target."cfg(windows)".dependencies]
3431
win7-notifications = { version = "0.3.1", optional = true }
3532
windows-version = { version = "0.1", optional = true }
3633

34+
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
35+
dbus = { version = "0.9", optional = true }
36+
lazy_static = { version = "1", optional = true }
37+
image = { version = "0.24", optional = true }
38+
zbus = { version = "4", optional = true }
39+
log = "0.4"
40+
env_logger ={ version ="0.10", optional = true }
41+
42+
[target.'cfg(target_os="macos")'.dependencies]
43+
mac-notification-sys = "0.6"
44+
chrono = { version = "0.4", optional = true}
45+
46+
[target.'cfg(target_os="windows")'.dependencies]
47+
winrt-notification = { package = "tauri-winrt-notification", version = "0.1" }
48+
3749
[features]
50+
default = [ "zbus", "async" ]
51+
async = []
3852
windows7-compat = [ "win7-notifications", "windows-version" ]

0 commit comments

Comments
 (0)