#notifications #termux #android

termux-notification

Display a system notification by termux-notification

4 releases

0.1.3 Feb 9, 2024
0.1.2 Feb 9, 2024
0.1.1 Feb 9, 2024
0.1.0 Feb 9, 2024

#314 in Command-line interface

Download history 4/week @ 2024-02-05 1/week @ 2024-02-19 10/week @ 2024-02-26 14/week @ 2024-03-11 4/week @ 2024-04-01 129/week @ 2024-04-08

129 downloads per month

MIT/Apache

17KB
331 lines

termux-notification

Rust lib with typed termux-notification command API to display a system notification.


lib.rs:

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

No runtime deps

Features