adabraka-gpui 0.4.0

Adabraka's GPU-accelerated UI framework (fork of GPUI from Zed - github.com/zed-industries/zed)
Documentation
1
2
3
4
5
6
7
8
9
10
use anyhow::Result;

pub fn show_notification(title: &str, body: &str) -> Result<()> {
    notify_rust::Notification::new()
        .summary(title)
        .body(body)
        .show()
        .map_err(|e| anyhow::anyhow!("Failed to show notification: {}", e))?;
    Ok(())
}