#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

#319 in Command-line interface

Download history 4/week @ 2024-02-08 7/week @ 2024-02-22 4/week @ 2024-02-29 4/week @ 2024-03-07 10/week @ 2024-03-14 3/week @ 2024-03-28 119/week @ 2024-04-04 11/week @ 2024-04-11

133 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