1
1
# winrt-notification
2
2
3
- [ ![ license] ( https://img.shields.io/crates/l/winrt-notification.svg )] ( https://crates.io/crates/winrt-notification/ )
4
- [ ![ version ] ( https://img.shields.io/crates/v/winrt-notification.svg )] ( https://crates.io/crates/ winrt-notification/ )
5
- [ ![ Build Status ] ( https://img.shields.io/appveyor/ci/allenbenz/winrt-notification.svg )] ( https://ci.appveyor.com/project/allenbenz/winrt-notification )
3
+ [ ![ license] ( https://img.shields.io/crates/l/tauri- winrt-notification.svg )] ( https://crates.io/crates/tauri- winrt-notification/ )
4
+ [ ![ documentation ] ( https://img.shields.io/crates/v/tauri- winrt-notification?style=flat-square )] ( https://docs.rs/tauri- winrt-notification )
5
+
6
6
7
7
An incomplete wrapper over the WinRT toast api
8
8
9
9
Tested in Windows 10 and 8.1. Untested in Windows 8, might work.
10
10
11
- [ 0.5 Documentation] ( https://allenbenz.github.io/winrt-notification/0_5_0/winrt_notification/index.html )
12
-
13
- [ 0.2 Documentation] ( https://allenbenz.github.io/winrt-notification/0_2_0/winrt_notification/index.html )
14
-
15
11
Todo:
16
12
* Add support for Adaptive Content
17
- * Add support for Actions
18
13
19
14
Known Issues:
20
15
* Will not work for Windows 7.
@@ -27,14 +22,14 @@ Limitations:
27
22
``` toml
28
23
# Cargo.toml
29
24
[dependencies ]
30
- winrt-notification = " 0.5.1"
25
+ tauri- winrt-notification = " 0.5.1"
31
26
```
32
27
33
28
## Examples
34
29
35
30
``` rust
36
31
extern crate winrt_notification;
37
- use winrt_notification :: {Duration , Sound , Toast };
32
+ use tauri_winrt_notification :: {Duration , Sound , Toast };
38
33
39
34
fn main () {
40
35
Toast :: new (Toast :: POWERSHELL_APP_ID )
@@ -50,7 +45,7 @@ fn main() {
50
45
``` rust
51
46
extern crate winrt_notification;
52
47
use std :: path :: Path ;
53
- use winrt_notification :: {IconCrop , Toast };
48
+ use tauri_winrt_notification :: {IconCrop , Toast };
54
49
55
50
fn main () {
56
51
Toast :: new (" Your AppUserModeId" )
0 commit comments