simple/
simple.rs

1extern crate winrt_notification;
2use winrt_notification::{
3    Duration,
4    Sound,
5    Toast,
6};
7
8fn main() {
9    Toast::new(Toast::POWERSHELL_APP_ID)
10        .title("Look at this flip!")
11        .text1("(╯°□°)╯︵ ┻━┻")
12        .sound(Some(Sound::SMS))
13        .duration(Duration::Short)
14        .show()
15        .expect("unable to send notification");
16}