euv-core 0.47.1

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
/// Reference watch dial diameter in logical dp for compact viewport scaling (`1.0x`).
pub const WEARABLE_REF_DIAL_DP: f32 = 210.0;

/// Minimum compact viewport scale clamp for ultra-compact smartwatch displays.
pub const WEARABLE_MIN_COMPACT_SCALE: f32 = 0.72;

/// Maximum compact viewport scale clamp for large rugged smartwatch displays (e.g. Ultra).
pub const WEARABLE_MAX_COMPACT_SCALE: f32 = 1.20;

/// Default scroll distance in logical pixels emitted per rotary crown/bezel detent tick.
pub const WEARABLE_CROWN_PIXELS_PER_DETENT: f32 = 36.0;

/// Default interactive smartwatch refresh rate in Hertz (`60.0` Hz).
pub const WEARABLE_INTERACTIVE_REFRESH_HZ: f32 = 60.0;

/// Low-power Always-On Display (AOD) ambient refresh rate in Hertz (`1.0` Hz).
pub const WEARABLE_AOD_REFRESH_HZ: f32 = 1.0;

/// Canonical vendor identifier for Google / Samsung / Pixel / TicWatch Wear OS.
pub const WEARABLE_VENDOR_WEAR_OS: &str = "wearos";

/// Canonical vendor identifier for Apple watchOS.
pub const WEARABLE_VENDOR_WATCH_OS: &str = "watchos";

/// Canonical vendor identifier for Huawei HarmonyOS Watch.
pub const WEARABLE_VENDOR_HARMONY_WATCH: &str = "harmony-watch";

/// Canonical vendor identifier for Xiaomi HyperOS / Vela Watch.
pub const WEARABLE_VENDOR_HYPEROS_VELA: &str = "hyperos-vela";

/// Canonical vendor identifier for OPPO ColorOS Watch.
pub const WEARABLE_VENDOR_OPPO_WATCH: &str = "oppo-watch";

/// Canonical vendor identifier for vivo BlueOS Watch.
pub const WEARABLE_VENDOR_VIVO_WATCH: &str = "vivo-watch";

/// Canonical vendor identifier for Garmin Connect IQ watches.
pub const WEARABLE_VENDOR_GARMIN: &str = "garmin";

/// Canonical vendor identifier for Amazfit Zepp OS watches.
pub const WEARABLE_VENDOR_ZEPP_OS: &str = "zeppos";

/// Canonical vendor identifier for generic wrist wearable devices.
pub const WEARABLE_VENDOR_GENERIC: &str = "generic-wearable";

/// Default compact top clock/status inset for rectangular wearable bands in logical dp.
pub(crate) const WEARABLE_RECT_TOP_INSET_DP: f32 = 16.0;

/// Default compact bottom gesture/edge inset for rectangular wearable bands in logical dp.
pub(crate) const WEARABLE_RECT_BOTTOM_INSET_DP: f32 = 10.0;

/// Default horizontal padding inset for rectangular wearable bands in logical dp.
pub(crate) const WEARABLE_RECT_SIDE_INSET_DP: f32 = 6.0;

/// Default squircle corner radius ratio relative to the shorter display edge.
pub(crate) const WEARABLE_SQUIRCLE_RADIUS_RATIO: f32 = 0.22;

/// Default initial route path for wearable host sessions.
pub(crate) const WEARABLE_DEFAULT_ROUTE: &str = "/";

/// Vendor alias accepted by `WearableVendor::from_str_id` for vivo BlueOS Watch.
pub(crate) const WEARABLE_ALIAS_VIVO: &str = "vivo";

/// Vendor alias accepted by `WearableVendor::from_str_id` for vivo BlueOS Watch.
pub(crate) const WEARABLE_ALIAS_BLUEOS: &str = "blueos";

/// Vendor alias accepted by `WearableVendor::from_str_id` for vivo BlueOS Watch.
pub(crate) const WEARABLE_ALIAS_BLUEOS_WATCH: &str = "blueos-watch";

/// Vendor alias accepted by `WearableVendor::from_str_id` for vivo BlueOS Watch.
pub(crate) const WEARABLE_ALIAS_VIVO_BLUEOS: &str = "vivo-blueos";

/// Vendor alias accepted by `WearableVendor::from_str_id` for OPPO ColorOS Watch.
pub(crate) const WEARABLE_ALIAS_OPPO: &str = "oppo";

/// Vendor alias accepted by `WearableVendor::from_str_id` for OPPO ColorOS Watch.
pub(crate) const WEARABLE_ALIAS_COLOROS_WATCH: &str = "coloros-watch";

/// Vendor alias accepted by `WearableVendor::from_str_id` for Huawei HarmonyOS Watch.
pub(crate) const WEARABLE_ALIAS_HARMONY_WEARABLE: &str = "harmony-wearable";

/// Vendor alias accepted by `WearableVendor::from_str_id` for Xiaomi HyperOS / Vela Watch.
pub(crate) const WEARABLE_ALIAS_VELA: &str = "vela";

/// Vendor alias accepted by `WearableVendor::from_str_id` for Amazfit Zepp OS Watch.
pub(crate) const WEARABLE_ALIAS_AMAZFIT: &str = "amazfit";

/// Vendor alias accepted by `WearableVendor::from_str_id` for generic wrist wearables.
pub(crate) const WEARABLE_ALIAS_GENERIC: &str = "generic";

/// Runtime ecosystem descriptor for Google Wear OS.
pub(crate) const WEARABLE_RUNTIME_WEAR_OS: &str = "Android NDK / Wear OS";

/// Runtime ecosystem descriptor for Apple watchOS.
pub(crate) const WEARABLE_RUNTIME_WATCH_OS: &str = "SwiftUI / WatchKit / Metal";

/// Runtime ecosystem descriptor for Huawei HarmonyOS Watch.
pub(crate) const WEARABLE_RUNTIME_HARMONY_WATCH: &str = "HarmonyOS Stage Model / XComponent";

/// Runtime ecosystem descriptor for Xiaomi HyperOS / Vela Watch.
pub(crate) const WEARABLE_RUNTIME_HYPEROS_VELA: &str = "Xiaomi HyperOS Vela / NuttX / QuickApp .ux";

/// Runtime ecosystem descriptor for OPPO ColorOS Watch.
pub(crate) const WEARABLE_RUNTIME_OPPO_WATCH: &str = "OPPO ColorOS Watch / Wear OS Hybrid";

/// Runtime ecosystem descriptor for vivo BlueOS Watch.
pub(crate) const WEARABLE_RUNTIME_VIVO_WATCH: &str = "vivo BlueOS / Rust-WASM / QuickApp .ux";

/// Runtime ecosystem descriptor for Garmin Connect IQ.
pub(crate) const WEARABLE_RUNTIME_GARMIN: &str = "Garmin Connect IQ / Monkey C";

/// Runtime ecosystem descriptor for Amazfit Zepp OS.
pub(crate) const WEARABLE_RUNTIME_ZEPP_OS: &str = "Amazfit Zepp OS / Mini Program";

/// Runtime ecosystem descriptor for generic wrist wearables.
pub(crate) const WEARABLE_RUNTIME_GENERIC: &str = "Generic Embedded Wearable";