Crate termux_notification

Crate termux_notification 

Source
Expand description

Display a system notification.

use std::io;

use termux_notification::TermuxNotification;

fn main() -> io::Result<()> {
  TermuxNotification::new()
    .title("Foo")
    .content("Bar")
    .show()?;
  Ok(())
}

§Feature flags

  • callbacks

Modules§

callbacks
Provides callbacks to notifications by socket connection.
remove_handle

Structs§

TermuxNotification
Builder for termux-notification command