12 releases (4 stable)

Uses old Rust 2015

1.0.3 Jan 29, 2018
1.0.2 Sep 1, 2017
1.0.1 Jul 11, 2017
0.4.0 Apr 1, 2017
0.0.3 Mar 27, 2015

#1022 in GUI

Download history 410/week @ 2025-08-28 703/week @ 2025-09-04 705/week @ 2025-09-11 804/week @ 2025-09-18 557/week @ 2025-09-25 736/week @ 2025-10-02 400/week @ 2025-10-09 429/week @ 2025-10-16 603/week @ 2025-10-23 399/week @ 2025-10-30 493/week @ 2025-11-06 347/week @ 2025-11-13 572/week @ 2025-11-20 302/week @ 2025-11-27 375/week @ 2025-12-04 170/week @ 2025-12-11

1,443 downloads per month
Used in 6 crates

MIT license

25KB
397 lines

Rustic bindings to libnotify

extern crate libnotify;

fn main() {
    // Init libnotify
    libnotify::init("myapp").unwrap();
    // Create a new notification (doesn't show it yet)
    let n = libnotify::Notification::new("Summary",
                                         Some("Optional Body"),
                                         None);
    // Show the notification
    n.show().unwrap();
    // Update the existent notification
    n.update("I am another notification", None, None).unwrap();
    // Show the updated notification
    n.show().unwrap();
    // We are done, deinit
    libnotify::uninit();
}


Latest Version License Crate download count

Documentation (crates.io) Documentation (master)

Build Status Join the chat at https://gitter.im/hasufell/rust-libnotify

rust-libnotify

Rust binding to libnotify.

Dependencies

~3MB
~74K SLoC