telar-platform-desktop 0.1.5

Desktop platform backend for Telar: winit event loop, system paths and OS color-scheme detection.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod accessibility;
mod clipboard;
// D-Bus, and only reached on Linux: winit answers the color-scheme question itself on Windows and macOS.
// The gate belongs to this module and to nothing else — `zbus` is the one dependency declared for Linux
// alone, so a `mod` that drifts above this line takes the gate with it and unroofs `zbus` on every other OS.
#[cfg(target_os = "linux")]
mod color_scheme;
mod dialogs;
mod paths;
pub mod platform;

pub use clipboard::DesktopClipboard;
pub use dialogs::DesktopFileDialogs;
pub use paths::DesktopPathsProvider;
pub use platform::{WinitPlatform, request_dynamic_surface};
// Re-exported from the shared winit backend so desktop consumers get the runner and its window type from one crate.
pub use platform_winit::WinitWindow;