winrt-notification 0.5.1

An incomplete wrapper over the WinRT toast api
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
extern crate winrt_notification;
use winrt_notification::{
    Duration,
    Sound,
    Toast,
};

fn main() {
    Toast::new(Toast::POWERSHELL_APP_ID)
        .title("Look at this flip!")
        .text1("(╯°□°)╯︵ ┻━┻")
        .sound(Some(Sound::SMS))
        .duration(Duration::Short)
        .show()
        .expect("unable to send notification");
}