Rust Notification Send (RSNotifyOS)
RSNotifyOS is a library for printing alerts on Linux and Windows operating systems. It uses the D-Bus IPC and Subprocess protocol to communicate with the desktop notification system on Linux, Windows. Implements a dialog window system to display alerts on both operating systems.
News
* Support for Windows notifications (10/11)
* Combining C++ to Rust
Usage
Functions Use:
- Print a notification (Linux): command:
extern crate rsnotifyos;
use RNotify;
dbus:
extern crate rsnotifyos;
use RNotify;
- Print a notification (Windows 10/11):
extern crate rsnotifyos;
use RNotify;
- Print an alert message in a window (linux, windows): information:
extern crate rsnotifyos;
use RNotify;
error:
extern crate rsnotifyos;
use RNotify;
ref doc/usage.md
Installation
- build linux:
or:
- build windows: Note: You must have Visual C++ installed in order to compile the Notifications library
or:
- debug:
Example
cargo run --bin win_notify --features enable_debug
cargo run --bin notify_event_loop --features enable_debug
cargo run --bin dbus_notify --features enable_debug
Autor
Frederick Valdez
Credits
C++ Library -> Mohammed Boujemaoui mohabouje@gmail.com