Registry / utility / mac-notification-sys

mac-notification-sys

JSON →
library0.6.14rscratesunverified

A thin wrapper around macOS notifications.

# Cargo.toml [dependencies] mac-notification-sys = "0.6.14"
INSTALL
IMPORT
SIG · MAC-NOTIFICATION-S
M
mac-notification-sys
utilityrustv0.6.14
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

send_notification
use mac_notification_sys::send_notification;

Sends a macOS notification.

use mac_notification_sys::send_notification; fn main() { send_notification("Title", "Subtitle", "Body").unwrap(); }
Debug
Known issues
gotchaOnly works on macOS; will panic or fail on other platforms.
fix
Use conditional compilation or check platform at runtime.
affects: all
Upgrade
Version history
0.6.14latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
mac-notification-sys — cargo add mac-notification-sys · libregistry