uzor-framework 1.5.40

uzor app engine: one kernel of single-writer engines driven by a typed input bus
Documentation
//! ROLE host/* (shell): the loops that drive the runtime (design §9).
//! Hosts own the OS event loop, the paint surface and the clock; they see
//! the [`Runtime`](crate::Runtime) only (ban F10). The headless host is
//! the deterministic test host: it compiles without features, runs every
//! §9.2 script, and paints into a recording context.
//!
//! The native (winit) host lives behind feature `native` ([`native`]); the
//! web host lives behind feature `web` ([`web`]).

mod headless;

pub use headless::HeadlessHost;
#[cfg(all(feature = "automation", not(target_arch = "wasm32")))]
pub use headless::run_headless;

#[cfg(feature = "native-core")]
pub mod native;

#[cfg(feature = "native-core")]
pub use native::{
    run_native, run_native_default, NativeOptions, RenderPreference, TraySpec, WinitMapper,
};

#[cfg(feature = "web")]
pub mod web;

#[cfg(feature = "web")]
pub use web::{run_web, run_web_with, start_web, WebOptions};
#[cfg(all(feature = "web", feature = "dev-control"))]
pub use web::{dev_requested, WebDevControl};

#[cfg(test)]
mod tests;