Skip to content

Commit e9bbe94

Browse files
authored
feat(notification): add plugin (#326)
1 parent 864b9d7 commit e9bbe94

34 files changed

+1536
-8
lines changed

.changes/config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,15 @@
128128
"manager": "javascript-disabled"
129129
},
130130

131+
"notification": {
132+
"path": "./plugins/notification",
133+
"manager": "rust-disabled"
134+
},
135+
"notification-js": {
136+
"path": "./plugins/notification",
137+
"manager": "javascript-disabled"
138+
},
139+
131140
"persisted-scope": {
132141
"path": "./plugins/persisted-scope",
133142
"manager": "rust"

Cargo.lock

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

plugins/notification/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.tauri

plugins/notification/Cargo.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[package]
2+
name = "tauri-plugin-notification"
3+
version = "0.1.0"
4+
edition.workspace = true
5+
authors.workspace = true
6+
license.workspace = true
7+
8+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
9+
10+
[build-dependencies]
11+
tauri-build.workspace = true
12+
13+
[dependencies]
14+
serde.workspace = true
15+
serde_json.workspace = true
16+
tauri.workspace = true
17+
log.workspace = true
18+
thiserror.workspace = true
19+
20+
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
21+
notify-rust = "4.5"
22+
23+
[target."cfg(windows)".dependencies]
24+
win7-notifications = { version = "0.3.1", optional = true }
25+
26+
[features]
27+
windows7-compat = [ "win7-notifications" ]

0 commit comments

Comments
 (0)