euv-core 0.48.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
/// Native action kind for tactile haptic feedback.
pub const NATIVE_ACTION_HAPTIC: &str = "haptic";
/// Native action kind for OS notifications.
pub const NATIVE_ACTION_NOTIFY: &str = "notify";
/// Native action kind for Dynamic Island / Live Activity updates.
pub const NATIVE_ACTION_ISLAND: &str = "island";
/// Native action kind for OS runtime permission prompts.
pub const NATIVE_ACTION_PERMISSION: &str = "permission";
/// Native action kind for immersive fullscreen toggling.
pub const NATIVE_ACTION_FULLSCREEN: &str = "fullscreen";
/// Native action kind for custom URI protocol registration confirmation.
pub const NATIVE_ACTION_PROTOCOL: &str = "protocol";
/// Native action kind for OS soft-keyboard / IME visibility synchronization.
pub const NATIVE_ACTION_IME: &str = "ime";
/// Native action kind for displaying a brief bottom system toast / snackbar prompt.
pub const NATIVE_ACTION_TOAST: &str = "toast";
/// Native action kind for requesting graceful OS application termination (e.g. Android `Activity.finish()`).
pub const NATIVE_ACTION_EXIT: &str = "exit";
/// Native action kind for reading or writing the host OS system clipboard.
pub const NATIVE_ACTION_CLIPBOARD: &str = "clipboard";
/// Native action kind for opening an external `http://` or `https://` URL in the system browser.
pub const NATIVE_ACTION_OPEN_URL: &str = "open_url";

/// Native clipboard action verb for writing UTF-8 text to the host system clipboard.
pub(crate) const CLIPBOARD_ACTION_WRITE: &str = "write";
/// Required HTTPS scheme prefix for validated external URLs.
pub(crate) const URL_SCHEME_HTTPS: &str = "https://";
/// Allowed HTTP scheme prefix for validated external URLs.
pub(crate) const URL_SCHEME_HTTP: &str = "http://";
/// Environment flag disabling native OS browser spawning in headless runs.
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ENV_EUV_HEADLESS: &str = "EUV_HEADLESS";
/// macOS command opening an external URL in the default browser.
#[cfg(target_os = "macos")]
pub(crate) const OS_CMD_OPEN: &str = "open";
/// Linux command opening an external URL in the default browser.
#[cfg(target_os = "linux")]
pub(crate) const OS_CMD_XDG_OPEN: &str = "xdg-open";
/// Windows shell command executable used to launch external URLs.
#[cfg(target_os = "windows")]
pub(crate) const OS_CMD_WIN_SHELL: &str = "cmd";
/// Windows shell switch running a single command string.
#[cfg(target_os = "windows")]
pub(crate) const OS_CMD_WIN_EXEC: &str = "/C";
/// Windows shell built-in launching the default browser for a URL.
#[cfg(target_os = "windows")]
pub(crate) const OS_CMD_WIN_START: &str = "start";
/// Native HarmonyOS system share API descriptor.
pub(crate) const SHARE_API_HARMONY: &str = "ohos.kit.ShareKit.systemShare";
/// Native Wearable companion share API descriptor.
pub(crate) const SHARE_API_WEARABLE: &str = "wearable.companion.share";
/// Native MiniApp unified share API descriptor.
pub(crate) const SHARE_API_MINIAPP: &str = "miniapp.onShareAppMessage";
/// Native QuickApp unified share API descriptor.
pub(crate) const SHARE_API_QUICKAPP: &str = "@system.share";
/// Native Terminal stdout/OSC52 share descriptor.
pub(crate) const SHARE_API_TERMINAL: &str = "terminal.stdout";