inline notify-rust [skip ci]

This commit is contained in:
Lucas Nogueira
2024-02-20 10:44:52 -03:00
parent df3fc7c251
commit 4709c343bc
23 changed files with 3750 additions and 19 deletions
+17 -3
View File
@@ -27,12 +27,26 @@ time = { version = "0.3", features = [ "serde", "parsing", "formatting" ] }
url = { version = "2", features = [ "serde" ] }
serde_repr = "0.1"
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
notify-rust = "4.5"
[target."cfg(windows)".dependencies]
win7-notifications = { version = "0.3.1", optional = true }
windows-version = { version = "0.1", optional = true }
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
dbus = { version = "0.9", optional = true }
lazy_static = { version = "1", optional = true }
image = { version = "0.24", optional = true }
zbus = { version = "4", optional = true }
log = "0.4"
env_logger ={ version ="0.10", optional = true }
[target.'cfg(target_os="macos")'.dependencies]
mac-notification-sys = "0.6"
chrono = { version = "0.4", optional = true}
[target.'cfg(target_os="windows")'.dependencies]
winrt-notification = { package = "tauri-winrt-notification", version = "0.1" }
[features]
default = [ "zbus", "async" ]
async = []
windows7-compat = [ "win7-notifications", "windows-version" ]