Files
libnotify-rs/src/lib.rs
2026-10-03 20:25:33 +02:00

26 lines
661 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//! This crate exposes two modules:
//!
//! # Crate structure
//! ## Api
//! This module contains a basic wrapper for libnotify calls. It just translates data types, etc,
//! so usage is basically the same as libnotify.
//!
//! ## Wrappers
//! This module is a higher level abstraction over api. Recommended to use over api.
//!
//! # Features
//!
//! - clap – enables [clap] support for `Urgency`
//!
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![warn(missing_docs)]
/// Basic libnotify rust wrapper
pub mod api;
/// Higher level abstraction over api
pub mod wrappers;
pub use wrappers::{builder, context};