File: minimal.rs

package info (click to toggle)
rust-notify-rust 4.11.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 592 kB
  • sloc: sh: 18; makefile: 4
file content (6 lines) | stat: -rw-r--r-- 164 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
use notify_rust::Notification;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    Notification::new().summary("minimal notification").show()?;
    Ok(())
}