euv-core 0.48.9

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
/// Canonical vendor identifier for WeChat Mini-Program.
pub const MINIAPP_VENDOR_WECHAT: &str = "wechat";

/// Canonical vendor identifier for Alipay Mini-Program.
pub const MINIAPP_VENDOR_ALIPAY: &str = "alipay";

/// Canonical vendor identifier for Douyin / ByteDance Mini-Program.
pub const MINIAPP_VENDOR_DOUYIN: &str = "douyin";

/// Canonical vendor identifier for Baidu Smart Mini-Program.
pub const MINIAPP_VENDOR_BAIDU: &str = "baidu";

/// Canonical vendor identifier for QQ Mini-Program.
pub const MINIAPP_VENDOR_QQ: &str = "qq";

/// Canonical vendor identifier for Kuaishou Mini-Program.
pub const MINIAPP_VENDOR_KUAISHOU: &str = "kuaishou";

/// Canonical vendor identifier for JD Mini-Program.
pub const MINIAPP_VENDOR_JD: &str = "jd";

/// Canonical vendor identifier for Xiaohongshu Mini-Program.
pub const MINIAPP_VENDOR_XHS: &str = "xhs";

/// Canonical vendor identifier for DingTalk Mini-Program.
pub const MINIAPP_VENDOR_DINGTALK: &str = "dingtalk";

/// Canonical vendor identifier for Feishu / Lark Mini-Program.
pub const MINIAPP_VENDOR_FEISHU: &str = "feishu";

/// Canonical vendor identifier for Taobao Mini-Program.
pub const MINIAPP_VENDOR_TAOBAO: &str = "taobao";

/// Canonical vendor identifier for Meituan Mini-Program.
pub const MINIAPP_VENDOR_MEITUAN: &str = "meituan";

/// Canonical vendor identifier for HarmonyOS Atomic Service.
pub const MINIAPP_VENDOR_HARMONY_ATOMIC: &str = "harmony-atomic";

/// Global JS runtime namespace for WeChat (`wx`).
pub const MINIAPP_GLOBAL_WECHAT: &str = "wx";

/// Global JS runtime namespace for Alipay (`my`).
pub const MINIAPP_GLOBAL_ALIPAY: &str = "my";

/// Global JS runtime namespace for Douyin (`tt`).
pub const MINIAPP_GLOBAL_DOUYIN: &str = "tt";

/// Global JS runtime namespace for Baidu (`swan`).
pub const MINIAPP_GLOBAL_BAIDU: &str = "swan";

/// Global JS runtime namespace for QQ (`qq`).
pub const MINIAPP_GLOBAL_QQ: &str = "qq";

/// Global JS runtime namespace for Kuaishou (`ks`).
pub const MINIAPP_GLOBAL_KUAISHOU: &str = "ks";

/// Global JS runtime namespace for JD (`jd`).
pub const MINIAPP_GLOBAL_JD: &str = "jd";

/// Global JS runtime namespace for Xiaohongshu (`xhs`).
pub const MINIAPP_GLOBAL_XHS: &str = "xhs";

/// Global JS runtime namespace for DingTalk (`dd`).
pub const MINIAPP_GLOBAL_DINGTALK: &str = "dd";

/// Global JS runtime namespace for Feishu (`tt`).
pub const MINIAPP_GLOBAL_FEISHU: &str = "tt";

/// Global JS runtime namespace for Taobao (`my`).
pub const MINIAPP_GLOBAL_TAOBAO: &str = "my";

/// Global JS runtime namespace for Meituan (`mt`).
pub const MINIAPP_GLOBAL_MEITUAN: &str = "mt";

/// Global runtime namespace identifier for HarmonyOS Atomic Service (`atomic`).
pub const MINIAPP_GLOBAL_HARMONY_ATOMIC: &str = "atomic";

/// Extra vertical breathing margin below the host capsule button in logical dp.
pub const MINIAPP_CAPSULE_BOTTOM_GAP_DP: f32 = 6.0;

/// Default mini-program viewport logical width in dp.
pub(crate) const MINIAPP_DEFAULT_WIDTH: u32 = 390;

/// Default mini-program viewport logical height in dp.
pub(crate) const MINIAPP_DEFAULT_HEIGHT: u32 = 844;

/// Default mini-program display pixel ratio.
pub(crate) const MINIAPP_DEFAULT_DPR: f32 = 3.0;

/// Default mini-program status bar height in logical dp.
pub(crate) const MINIAPP_DEFAULT_STATUS_BAR_DP: f32 = 44.0;

/// Default mini-program bottom home indicator inset in logical dp.
pub(crate) const MINIAPP_DEFAULT_SAFE_BOTTOM_DP: f32 = 34.0;

/// Default mini-program capsule button width in logical dp.
pub(crate) const MINIAPP_DEFAULT_CAPSULE_W: f32 = 87.0;

/// Default mini-program capsule button height in logical dp.
pub(crate) const MINIAPP_DEFAULT_CAPSULE_H: f32 = 32.0;

/// Default mini-program capsule right edge margin in logical dp.
pub(crate) const MINIAPP_DEFAULT_CAPSULE_RIGHT_MARGIN: f32 = 10.0;

/// Default mini-program route path.
pub(crate) const MINIAPP_DEFAULT_ROUTE: &str = "/pages/index/index";

/// Default mini-program BCP-47 language tag.
pub(crate) const MINIAPP_DEFAULT_LANGUAGE: &str = "zh-CN";

/// Mini-program markup template file extensions across all 13 vendors.
pub(crate) const MINIAPP_EXT_WXML: &str = "wxml";
pub(crate) const MINIAPP_EXT_AXML: &str = "axml";
pub(crate) const MINIAPP_EXT_TTML: &str = "ttml";
pub(crate) const MINIAPP_EXT_SWAN: &str = "swan";
pub(crate) const MINIAPP_EXT_QML: &str = "qml";
pub(crate) const MINIAPP_EXT_KSML: &str = "ksml";
pub(crate) const MINIAPP_EXT_JXML: &str = "jxml";
pub(crate) const MINIAPP_EXT_XHSML: &str = "xhsml";
pub(crate) const MINIAPP_EXT_MXML: &str = "mxml";
pub(crate) const MINIAPP_EXT_ETS: &str = "ets";
pub(crate) const MINIAPP_STYLE_WXSS: &str = "wxss";
pub(crate) const MINIAPP_STYLE_ACSS: &str = "acss";
pub(crate) const MINIAPP_STYLE_TTSS: &str = "ttss";
pub(crate) const MINIAPP_STYLE_CSS: &str = "css";
pub(crate) const MINIAPP_STYLE_QSS: &str = "qss";
pub(crate) const MINIAPP_STYLE_JXSS: &str = "jxss";
pub(crate) const MINIAPP_STYLE_MXSS: &str = "mxss";
pub(crate) const MINIAPP_STYLE_ETS: &str = "ets";
pub(crate) const MINIAPP_CFG_PROJECT_CONFIG: &str = "project.config.json";
pub(crate) const MINIAPP_CFG_MINI_PROJECT: &str = "mini.project.json";
pub(crate) const MINIAPP_CFG_PROJECT_SWAN: &str = "project.swan.json";
pub(crate) const MINIAPP_CFG_MODULE_JSON5: &str = "module.json5";
pub(crate) const MINIAPP_WASM_WX: &str = "WXWebAssembly";
pub(crate) const MINIAPP_WASM_MY: &str = "MYWebAssembly";
pub(crate) const MINIAPP_WASM_TT: &str = "TTWebAssembly";
pub(crate) const MINIAPP_WASM_QQ: &str = "QQWebAssembly";
pub(crate) const MINIAPP_WASM_STD: &str = "WebAssembly";
pub(crate) const MINIAPP_ALIAS_BYTEDANCE: &str = "bytedance";
pub(crate) const MINIAPP_ALIAS_JINGDONG: &str = "jingdong";
pub(crate) const MINIAPP_ALIAS_XIAOHONGSHU: &str = "xiaohongshu";
pub(crate) const MINIAPP_ALIAS_RED: &str = "red";
pub(crate) const MINIAPP_ALIAS_LARK: &str = "lark";
pub(crate) const MINIAPP_ALIAS_TB: &str = "tb";
pub(crate) const MINIAPP_ALIAS_ATOMIC: &str = "atomic";