ldtray 0.1.0

Cross-platform tray icons with zero compile-time linkage to platform GUI libraries — every toolkit is loaded at runtime via libloading, so headless daemons degrade gracefully instead of failing to link.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! macOS tray backend.
//!
//! Implemented via `NSStatusBar`/`NSStatusItem` driven through the Objective-C
//! runtime (`libobjc` + AppKit), all loaded at runtime. Filled in at milestone
//! M7; until then this returns [`crate::Error::Unsupported`].

use super::{Backend, Init};
use crate::error::Result;

pub(crate) fn new(_init: Init) -> Result<Box<dyn Backend>> {
    Err(crate::error::Error::Unsupported)
}