feat(notifications): use the ligh windows-version crate (#750)

* feat(notifications): use the ligh `windows-version` crate

* Update desktop.rs

* optional
This commit is contained in:
Amr Bashir
2023-11-21 14:23:47 +02:00
committed by GitHub
parent 88d260d901
commit 445c1e6cb6
3 changed files with 76 additions and 2 deletions
+2 -1
View File
@@ -32,6 +32,7 @@ notify-rust = "4.5"
[target."cfg(windows)".dependencies]
win7-notifications = { version = "0.3.1", optional = true }
windows-version = { version = "0.1", optional = true }
[features]
windows7-compat = [ "win7-notifications" ]
windows7-compat = [ "win7-notifications", "windows-version" ]