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 |
#394 in Command-line interface
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