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
//! Windows tray backend.
//!
//! Implemented via `Shell_NotifyIconW` (shell32) plus a hidden message window
//! (user32), all loaded at runtime. Filled in at milestone M6; 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)
}