Skip to main content

whisker_linux/
lib.rs

1//! Native Linux application shell for Whisker.
2//!
3//! The shared `winit` lifecycle, event translation, retained scene projection,
4//! and `wgpu` painting live in `whisker-desktop`. This target crate preserves
5//! the Linux-named composition interface and is the seam for future native
6//! Linux integrations.
7
8#![cfg(target_os = "linux")]
9#![warn(missing_docs)]
10
11/// Configuration for one standalone Linux window.
12pub type LinuxAppConfig = whisker_desktop::DesktopAppConfig;
13/// Failure while creating or running the native Linux Host.
14pub type LinuxError = whisker_desktop::DesktopAppError;
15pub use whisker_desktop::{run, run_with_application_hash};