Expand description
euv-cli
Cross-platform command-line toolchain for euv providing native run, build, hot-reload dev server, Hyperlane HTTP/SSE dynamic update server, Markdown documentation site builder, cross-target check, formatting, environment diagnostics, project scaffolding, shell completions, and live/artifact inspection.
Structs§
- AiSchema
Scan Report - Binary scan report proving whether dev-only AI schema markers leaked into an artifact.
- Android
Build Config - Configuration for building a native Rust + JNI Android or Wear OS APK.
- Android
Build Report - Machine-readable report produced after generating or building an Android / Wear OS APK.
- Android
Toolchain - Resolved Android SDK, NDK, and build-tools executables discovered on the host machine.
- Apple
Build Config - Configuration for building an iOS, iPadOS, or watchOS
.appbundle in pure Rust. - Apple
Build Report - Machine-readable report produced after generating or building an Apple
.appbundle. - Blob
Route Hook - Hyperlane
ServerHookservingGET /v1/blobs/{sha256}with Range resume support. - Build
Before Swap Controller - Deterministic state machine tracking zero-flicker build-before-swap transitions for native targets.
- Build
Pipeline Config - Unified multi-platform build pipeline configuration resolved from CLI flags and optional
euv.toml. - Build
Pipeline Report - Aggregate multi-platform build summary produced by
execute_build_pipeline. - Build
Plan - Complete declarative build plan for one target platform.
- Build
Step - Single executable command step inside a cross-platform
BuildPlan. - Channel
Pointer - Atomically swapped active release pointer persisted in
channels/<project>/<channel>/active.json. - Channel
Status Entry - Status summary for a single project/channel inside
UpdateStoreStatus. - Clean
Entry - One cleaned (or planned) build artifact or cache directory entry.
- Clean
Options - Execution options for
euv clean. - Clean
Report - Structured summary report emitted by
euv clean. - Cli
- Root CLI parser for the
euvcross-platform native toolchain. - Command
RunMetrics - Metrics returned after executing a child command via
run_command_streaming. - Debounced
Watcher - Coalescing debounced file-change accumulator preventing redundant rebuild bursts on multi-file saves.
- Desktop
Build Config - Configuration for building, verifying, staging, and archiving a desktop or terminal client.
- Desktop
Build Report - Structured summary returned by
build_desktop_client. - DevServer
Config - Configuration for starting a live hot-reload and v1 OTA development server.
- DevServer
Handle - Running hot-reload dev server handle supporting clean programmatic shutdown and inspection.
- DevServer
Report - Machine-readable report returned when starting or probing the dev/docs server.
- Dist
File Stat - File path and byte length record inside a
DistInspectReport. - Dist
Inspect Report - Audit summary of a local release artifact directory (
euv-release.json, SHA-256, zero-JS check, sizes). - Docs
Build Args - Shared documentation source, output, title, base URL, and WASM site build arguments.
- Doctor
FixResult - Outcome of one automated
rustup target addaction executed byeuv doctor --fix. - Doctor
Report - Complete environment readiness report produced by
euv doctor. - Dynamic
Wasm Validation - Sandbox and ABI verification summary for a dynamic
.wasmwidget binary. - Embedded
OtaResponse - Protocol-level HTTP response returned by the embeddable v1 OTA request handler mounted inside
euv dev. - EuvApp
Config [app]section of aneuv.tomlproject manifest.- EuvBuild
Config [build]section of aneuv.tomlproject manifest.- EuvDocs
Config [docs]section of aneuv.tomlproject manifest.- EuvOta
Config [ota]section of aneuv.tomlproject manifest.- EuvProject
Config - Root parsed representation of an
euv.tomlproject configuration file. - Events
Route Hook - Hyperlane
ServerHookstreamingGET /v1/projects/{project}/channels/{channel}/eventsviahyperlane-plugin-sse. - File
Change Set - Categorized file changes detected between two consecutive
WatchSnapshotscans. - File
Stamp - Filesystem modification stamp used for deterministic cross-platform change detection.
- FmtReport
- Structured summary produced by
euv fmtacross workspace text files, Rust sources, and macro invocations. - Full
Doctor Report - Comprehensive environment and 38-target readiness report produced by the upgraded
euv doctor. - Harmony
Build Config - Configuration for generating and compiling a HarmonyOS / OpenHarmony Stage-Model project.
- Harmony
Build Report - Report emitted after generating or compiling a HarmonyOS / OpenHarmony project.
- Health
Route Hook - Hyperlane
ServerHookservingGET /healthzJSON health and update store diagnostics. - HmrEvent
- Structured live-reload notification broadcast over SSE
/__euv_hmr. - HmrHub
- Shared concurrent state coordinating SSE reload notifications, OTA bundles, and server shutdown.
- Host
Capability Probe - Snapshot of host OS, architecture, installed Rust targets, SDK paths, and CLI build tools.
- Keygen
Report - Generated HMAC-SHA256 signing secret summary emitted by
euv update keygen. - Live
Inspect Report - Live inspection snapshot collected from a running
DevAutomationBridge. - Loaded
EuvConfig - Loaded
euv.tomlpaired with its discovered filesystem location. - Manifest
Route Hook - Hyperlane
ServerHookservingGET /v1/projects/{project}/channels/{channel}/manifest. - Mini
AppBuild Config - Configuration for generating and packaging MiniApp vendor hosts (13 ecosystems).
- Mini
AppBuild Report - Report produced after building one or more MiniApp vendor projects.
- OtaArtifact
Diff - Per-artifact comparison entry inside
OtaReleaseDiff. - OtaBuild
Config - Configuration for compiling, validating, and optionally pushing a Rust dynamic WASM widget crate.
- OtaBuild
Report - Summary report emitted by
euv update build. - OtaBundle
State - In-memory pair holding the active OTA manifest and its executable
.wasmbytes. - OtaDev
Config - Configuration for the unified single-command
euv update devserve-and-watch loop. - OtaDev
Report - Machine-readable report emitted by
euv update dev. - OtaGc
Config - Configuration controlling safe update store garbage collection (
euv update gc). - OtaGc
Report - Summary report emitted by
euv update gc. - OtaInit
Config - Configuration for initializing an update store and optional
euv-ota.jsonproject config. - OtaInit
Report - Summary report emitted by
euv update init. - OtaManifest
- Signed Dynamic WASM OTA manifest served at
/__euv_ota/manifest.json. - OtaProject
Config - Persisted project OTA configuration written to
euv-ota.json(never stores raw signing secrets). - OtaRelease
Diff - Structured comparison between two release sequences (
from_seq->to_seq) emitted byeuv update diff. - OtaVerify
Config - Configuration controlling offline cryptographic and blob integrity verification (
euv update verify). - OtaVerify
Issue - Individual integrity finding recorded during
euv update verify. - OtaVerify
Report - Complete offline integrity audit report emitted by
euv update verify. - Publish
Report - Summary report emitted by
euv update publishandeuv update rollback. - Quick
AppBuild Config - Configuration for generating and packaging QuickApp vendor projects (
alliance,huawei). - Quick
AppBuild Report - Report produced after building one or more QuickApp vendor projects.
- Release
Asset Manifest - Deterministic SHA-256 inventory manifest written to
euv-release.json. - Release
Manifest File Entry - Single verified asset record inside
euv-release.json. - Rgba
Image - Decoded 8-bit straight-alpha RGBA image buffer used for pure-Rust icon resizing and encoding.
- Scaffold
Options - Parameters governing modern
euv newproject scaffolding. - Scaffold
Report - Result summary emitted after scaffolding a new euv project via
euv new. - Server
Bind Args - Shared local HTTP dev server bind, watcher poll interval, and smoke-run arguments.
- Shared
Wasm Host Artifacts - Output paths produced by compiling the shared zero-DOM WebAssembly host core.
- Shared
Wasm Host Config - Configuration for building the shared zero-SIMD WebAssembly host core (
euv_app.wasm+ CJS/ESM glue). - Stage
Report - Summary report emitted by
euv update stage. - Step
Timing - Timing and status record for one CLI execution step.
- Stored
Release Event - Persisted bounded event record written to
state/events/<project>/<channel>.jsonl. - TarEntry
Input - Single file or directory entry to write into a pure-Rust
.tar.gzarchive. - Target
Build Outcome - Execution outcome recorded for one target inside
BuildPipelineReport. - Target
Capability - Per-target build readiness assessment on the active host machine.
- Target
Readiness - Installed toolchain status for a single Rust cross-compilation target.
- Target
Spec - Target platform metadata describing Rust triple, system APIs, and output bundle.
- Terminal
Table - Pure-Rust aligned terminal table builder for human-first CLI summaries.
- Theme
Variant Build Report - Structured summary returned by
build_web_theme_variants. - Tool
Probe Entry - Readiness report for one external CLI tool or SDK environment variable.
- Update
Health Response - JSON health and store status payload emitted by
GET /healthz. - Update
Server Config - Configuration for the read-only Hyperlane HTTP + SSE update server (never holds signing keys).
- Update
Server Handle - Running handle to a live Hyperlane HTTP + SSE update server with clean programmatic shutdown.
- Update
Server Report - Machine-readable report emitted by
euv update serve. - Update
Server State - Shared state mounted into Hyperlane routes for read-only manifest, blob, and SSE delivery.
- Update
Store - Local filesystem update store managing
staging/,blobs/sha256/,releases/,channels/, andstate/. - Update
Store Status - Complete status snapshot emitted by
euv update status. - Watch
Snapshot - Recursive file tree snapshot capturing stamps for all watched source files.
- Wearable
Build Config - Configuration for generating and building smartwatch wearable hosts across 8 ecosystems.
- Wearable
Build Report - Report produced after building one or more smartwatch wearable targets.
- WebBuild
Config - Configuration for pure-Rust WebAssembly zero-JS, raw-WASM, and theme-variant builds.
- WebBuild
Report - Structured summary returned by
build_web_bundle. - WebPackage
Metadata - Resolved Cargo package metadata needed for WebAssembly compilation and version verification.
- Workspace
Metadata - Dynamic Cargo workspace metadata resolved directly from
Cargo.tomlandCargo.lock. - Workspace
Package Info - Resolved package metadata for one Cargo workspace member or standalone crate.
- ZipEntry
Input - Single file entry to write into a pure-Rust PKZIP archive.
Enums§
- Android
Abi - Android native CPU ABI supported by the NDK compilation pipeline.
- Android
Target Kind - Android device form factor supported by the native APK builder.
- Apple
Target Kind - Apple mobile and wearable targets supported by the pure-Rust Apple bundle builder.
- Byte
Range Spec - Parsed HTTP byte-range specification for
GET /v1/blobs/{sha256}. - Commands
- Top-level
euvCLI subcommands. - Desktop
Target Kind - Desktop and terminal build targets handled by
cli/src/builder/desktop/. - DevTarget
Arg - Target mode for the
euv devhot-reload and OTA development server. - Docs
Action - Subcommands under
euv docsfor building or live-serving project Markdown documentation. - Harmony
Abi - OpenHarmony native CPU ABI supported by N-API/XComponent/EGL compilation.
- Harmony
Device Kind - HarmonyOS / OpenHarmony device form factor profiles supported by the Stage-Model builder.
- Harmony
Form Factor Arg - Optional HarmonyOS / OpenHarmony device form factor selector for
euv build --target harmony. - HmrEvent
Kind - Classification of live hot-reload events broadcast over SSE (
/__euv_hmr). - Mini
AppVendor - All 13 supported super-app MiniApp ecosystem targets.
- Project
Template Arg - Project scaffolding template selector for
euv new --template. - Quick
AppVendor - QuickApp distribution targets supported by the pure-Rust QuickApp builder.
- Render
Arg - CLI render pipeline mode selector.
- Shell
Kind Arg - Shell type selector for
euv completions <shell>. - Status
Badge - Status indicator badge emitted in human-readable CLI summaries and tables.
- Swap
Outcome - Outcome returned by the zero-flicker build-before-swap native rebuild controller.
- Target
Arg - CLI target selector covering all 38 concrete euv targets plus target groups (
desktop,mobile,apple,terminal,harmony-all,wearables,miniapps,quickapps,native,all). - Target
Build Status - Completion status recorded for one concrete target inside a multi-platform build pipeline run.
- Target
Category - High-level ecosystem category assigned to each concrete
euvtarget platform. - Update
Action - Subcommands under
euv updatefor operating the Hyperlane HTTP + SSE dynamic update server and local store. - Wearable
Vendor - All 8 smartwatch wearable targets supported by the pure-Rust wearable builder.
Constants§
- ANDROID_
MIPMAP_ SPECS - Android and Wear OS mipmap launcher icon specifications
(density_dir, pixel_size). - ARCHIVE_
DEFAULT_ DIR_ MODE - Default UNIX directory permission mode stored in archives.
- ARCHIVE_
DEFAULT_ FILE_ MODE - Default UNIX file permission mode stored in archives for regular files.
- ARCHIVE_
EXECUTABLE_ FILE_ MODE - Default UNIX file permission mode stored in archives for executable binaries.
- CARGO_
LOCK_ NAME - Cargo lockfile name inspected for locked dependency versions such as
wasm-bindgen. - CRATE_
WASM_ BINDGEN - Default fallback crate name when discovering the
wasm-bindgenruntime version inCargo.lock. - DEFAULT_
BRAND_ LOGO_ DATA_ URI - Self-contained lossless 96x96 PNG
data:image/png;base64,...URI for the canonical Euv brand logo. - DEFAULT_
DEV_ DEBOUNCE_ MS - Default file watcher debounce window in milliseconds.
- DEFAULT_
DEV_ HOST - Default local bind host for
euv devandeuv docs dev. - DEFAULT_
DEV_ OTA_ CHANNEL - Default v1 OTA release channel mounted inside
euv dev. - DEFAULT_
DEV_ OTA_ PROJECT - Default v1 OTA project identifier mounted inside
euv dev. - DEFAULT_
DOCS_ OUT_ DIR - Default static documentation output directory.
- DEFAULT_
OTA_ CONFIG_ FILE - Default project OTA configuration filename written by
euv update init. - DEFAULT_
OTA_ DEV_ CHANNEL - Default development release channel name.
- DEFAULT_
OTA_ GC_ KEEP_ RELEASES - Default number of most recent releases retained per channel during
euv update gc. - DEFAULT_
OTA_ PROD_ CHANNEL - Default production release channel name.
- DEFAULT_
OTA_ PROJECT_ NAME - Default logical project identifier for OTA operations.
- DEFAULT_
OTA_ SIGNING_ KEY_ ENV - Default environment variable name holding the offline HMAC-SHA256 signing secret.
- DEFAULT_
UPDATE_ ACCENT_ RGB - Default RGB accent color used for inline
euv update push --titlehot-update cards. - DEFAULT_
UPDATE_ EVENT_ LOG_ CAP - Default maximum retained events in each bounded channel event log (
state/events/). - DEFAULT_
UPDATE_ HEARTBEAT_ MS - Default SSE heartbeat interval in milliseconds for
euv update serve. - DEFAULT_
UPDATE_ ROUTE - Default target route path updated by
euv update pushwhen neither--routenor--slotis given. - DEFAULT_
UPDATE_ SERVER_ HOST - Default bind host for
euv update serve. - DEFAULT_
UPDATE_ SERVER_ PORT - Default bind port for
euv update serve. - DEFAULT_
UPDATE_ SLOT - Default target component slot identifier updated by
euv update pushwhen neither--routenor--slotis given. - DEFAULT_
UPDATE_ STORE_ PATH - Default local filesystem store root directory used across CLI and
UpdateServerConfig. - DEFAULT_
UPDATE_ WATCH_ POLL_ MS - Default background filesystem pointer watcher poll interval in milliseconds.
- DEFAULT_
WRITER_ LOCK_ STALE_ SECS - Default staleness threshold in seconds before an abandoned
writer.lockis reclaimed. - DESKTOP_
CLI_ BIN_ NAME - Default CLI binary stem (
euv/euv.exe). - DESKTOP_
CLI_ PACKAGE - CLI package name bundled alongside the desktop showcase when
include_cliis enabled. - DESKTOP_
DEFAULT_ APP_ PACKAGE - Default showcase package name built for GUI/TUI desktop clients.
- DESKTOP_
ICON_ LINUX - Linux 512px PNG icon filename placed into staged desktop output directories.
- DESKTOP_
ICON_ LINUX_ SIZE - Linux desktop icon pixel dimension.
- DESKTOP_
ICON_ MACOS - macOS icon filename placed into staged desktop output directories.
- DESKTOP_
ICON_ WINDOWS - Windows icon filename placed into staged desktop output directories.
- DEV_
OTA_ CLIENT_ CACHE_ SUBDIR - Default relative on-device cache subdirectory injected via
EUV_UPDATE_CACHE_DIR. - DEV_
OTA_ STORE_ SUBDIR - Default relative store directory used when
DevServerConfig::ota_store_diris unset. - DEV_
STATUS_ ENDPOINT - JSON health and revision status endpoint for local tooling and CI probes.
- ENV_
APP_ ICON - Environment variable specifying an optional custom PNG app icon path.
- ENV_
DEV_ UPDATE_ SIGNING_ KEY - Environment variable injected into child processes carrying the active dev OTA signing key.
- ENV_
SKIP_ WASM_ OPT - Environment variable disabling the optional
wasm-optpass when set to"1". - EUV_
TOML_ NAME - Canonical project manifest filename discovered by
euvcommands. - HMR_
ENDPOINT - Server-Sent Events endpoint streaming live reload and hot-update notifications.
- HMR_
ERROR_ OVERLAY_ ID - HTML element ID of the dismissible browser HMR build-error overlay.
- ICNS_
ICON_ SPECS - macOS ICNS modern PNG chunk descriptors
(chunk_tag, pixel_size). - ICO_
ICON_ SIZES - Windows ICO embedded PNG square sizes matching
scripts/env/generate-icon.py. - IOS_
BUNDLE_ ICON_ SPECS - iOS and iPadOS
.appbundle icon specifications(filename, pixel_size). - OTA_
CONFIG_ SCHEMA_ V1 - Current schema version for
euv-ota.jsonproject configuration files. - OTA_
DEV_ SIGNING_ KEY - Shared signing key used for local dev OTA hot-update verification.
- OTA_
KEYGEN_ BIT_ LENGTH - Bit length of generated HMAC-SHA256 signing secrets.
- OTA_
MANIFEST_ ENDPOINT - JSON manifest endpoint advertising the latest Dynamic WASM OTA hot-update build.
- OTA_
MODULE_ ENDPOINT - Binary endpoint serving the latest signed Dynamic WASM
.wasmmodule over HTTP. - OTA_
SLOT_ DEV - Default component slot targeted by local dev OTA hot updates.
- PIPELINE_
STATUS_ FAILED - Canonical status label for a target build that exited with an error.
- PIPELINE_
STATUS_ PASSED - Canonical status label for a target build that completed successfully.
- PIPELINE_
STATUS_ SKIPPED - Canonical status label for a target skipped because host OS or SDK prerequisites are missing.
- PNG_
DATA_ URI_ PREFIX - Data-URI prefix prepended to Base64-encoded PNG brand icons.
- RELEASE_
MANIFEST_ FORMAT - Current schema format version of
euv-release.json. - RELEASE_
MANIFEST_ NAME - Canonical filename for the deterministic SHA-256 release inventory manifest.
- STORE_
DIR_ BLOBS - Subdirectory holding immutable SHA-256 content-addressed blobs (
blobs/sha256/). - STORE_
DIR_ CHANNELS - Subdirectory holding atomically swapped channel active pointers (
channels/). - STORE_
DIR_ EVENTS - Subdirectory holding bounded per-channel JSONL event logs under
state/. - STORE_
DIR_ RELEASES - Subdirectory holding immutable signed release manifests (
releases/). - STORE_
DIR_ SHA256 - Hash algorithm subdirectory beneath
blobs/. - STORE_
DIR_ STAGING - Subdirectory holding staged artifacts prior to atomic publish.
- STORE_
DIR_ STATE - Subdirectory holding writer lock and bounded event history (
state/). - STORE_
DIR_ TRACKS - Subdirectory holding per-track active pointers under a channel directory.
- TRIPLE_
ANDROID - Rust target triple for Android ARM64 NDK and Wear OS builds.
- TRIPLE_
HARMONY - Rust target triple for HarmonyOS / OpenHarmony ARM64 native builds.
- TRIPLE_
IOS - Rust target triple for iOS and iPadOS ARM64 device builds.
- TRIPLE_
IOS_ SIM - Rust target triple for iOS and iPadOS ARM64 Simulator builds.
- TRIPLE_
LINUX - Rust target triple for Linux x86_64 GNU native builds.
- TRIPLE_
LINUX_ ARM64 - Rust target triple for Linux ARM64 GNU native builds.
- TRIPLE_
MACOS - Rust target triple for macOS Apple Silicon native builds.
- TRIPLE_
MACOS_ X64 - Rust target triple for macOS Intel x86_64 native builds.
- TRIPLE_
VELA - Rust target triple for Xiaomi Vela / embedded Linux ARM wearable builds.
- TRIPLE_
WATCHOS - Rust target triple for Apple watchOS ARM64 device builds.
- TRIPLE_
WEB - Rust target triple for WebAssembly browser, Mini-Program, and QuickApp builds.
- TRIPLE_
WINDOWS - Rust target triple for Windows x86_64 MSVC native builds.
- TRIPLE_
WINDOWS_ ARM64 - Rust target triple for Windows ARM64 MSVC native builds.
- UPDATE_
ROUTE_ BLOB - Hyperlane route template serving immutable content-addressed SHA-256 blobs with Range support.
- UPDATE_
ROUTE_ EVENTS - Hyperlane route template streaming minimal
release.activatedSSE notifications withLast-Event-IDreplay. - UPDATE_
ROUTE_ HEALTHZ - Hyperlane route serving JSON health and store status diagnostics.
- UPDATE_
ROUTE_ MANIFEST - Hyperlane route template serving protocol/ABI-negotiated signed release manifests.
- WEB_
BUNDLE_ ICON_ SPECS - Web showcase bundle icon specifications
(filename, pixel_size). - WEB_
DEFAULT_ ASSET_ BASE - Default portable relative asset base URL prefix.
- WEB_
DEFAULT_ OUT_ DIR - Default output directory for WebAssembly bundles.
- WEB_
DEFAULT_ PACKAGE - Default showcase package name built by
build_web_bundle. - WEB_
DEFAULT_ TITLE - Default HTML document title for generated zero-JS WebAssembly bundles.
- WEB_
RAW_ ICON_ SPECS - Raw Web WASM artifact icon specifications
(filename, pixel_size).
Functions§
- adler32_
bytes - Computes the RFC 1950 Adler-32 checksum used inside zlib streams and PNG
IDATchunks. - append_
entries_ to_ zip - Appends or replaces entries inside an existing ZIP archive (e.g. packing stored
.dex/.sointo an APK). - append_
stored_ entries_ to_ zip - Appends uncompressed (
STORED, method 0) entries to an existing ZIP archive in pure Rust. - archive_
directory_ auto - Archives
source_dirinto either.zipor.tar.gzautomatically based onoutput_archiveextension. - archive_
directory_ to_ tar_ gz - Recursively archives
source_dirinto a deterministic pure-Rust.tar.gzarchive. - archive_
directory_ to_ zip - Recursively archives all files in
source_dirinto a deterministic pure-Rust PKZIP file. - assert_
release_ binary_ ai_ schema_ clean - Verifies that a compiled release binary contains zero dev-only AI schema markers.
- build_
android_ apk - Builds, aligns, signs, verifies, and optionally installs an Android or Wear OS APK in pure Rust.
- build_
apple_ bundle - Builds, strips, signs, verifies, optionally archives, and optionally launches an Apple
.appbundle. - build_
cargo_ fmt_ args - Constructs
cargo fmtarguments forwarding--manifest-pathto support external directories cleanly. - build_
child_ dev_ env - Computes the exact environment variables injected into native/mobile/web child processes launched by
euv dev. - build_
desktop_ client - Builds, optionally smoke-tests and AI-schema-verifies, stages, and archives a desktop or terminal client.
- build_
dev_ ota_ state - Compiles a fresh signed Dynamic WASM OTA hot-update bundle for version
version. - build_
docs_ site - Builds a complete static documentation site from all
.mdfiles beneathsrc_dirintoout_dir. - build_
dynamic_ wasm_ widget - Compiles a Rust dynamic widget crate targeting
wasm32-unknown-unknown, validates its host ABI and sandbox constraints, writes the.wasmartifact, and optionally publishes it to a localUpdateStore. - build_
harmony_ app - Generates and optionally compiles/packages/installs a HarmonyOS / OpenHarmony Stage-Model app.
- build_
health_ response - Builds a JSON-serializable health and store summary response for
GET /healthz. - build_
miniapp_ targets - Builds one or all 13 MiniApp vendor targets, sharing a single zero-DOM WASM core build across JS ecosystems.
- build_
quickapp_ targets - Builds one or both QuickApp vendor targets (
alliance,huawei) in pure Rust. - build_
shared_ wasm_ host - Compiles the shared zero-SIMD WebAssembly host core (
euv_app.wasm+ CJS/ESM glue) in pure Rust. - build_
wearable_ targets - Builds one or all 8 smartwatch wearable ecosystems, routing native targets to Android/Apple/Harmony builders.
- build_
web_ bundle - Builds a complete zero-JS WebAssembly bundle or
--raw-wasmartifact in pure Rust. - build_
web_ rustflags - Composes
RUSTFLAGSforwasm32-unknown-unknownpreserving bulk-memory,getrandom_backend="wasm_js", andsimd128. - build_
web_ theme_ variants - Builds
defaultplus everytheme-*feature variant with deterministic SHA-256 source fingerprint caching. - category_
for_ target - Returns the ecosystem
TargetCategoryfor a concreteTargetArg. - collect_
doctor_ report - Inspects the local Rust toolchain, installed cross-platform targets, and SDKs across all 36 production targets.
- collect_
full_ doctor_ report - Collects a full toolchain and 38-target readiness report by probing the active host environment.
- collect_
full_ doctor_ report_ from_ probe - Builds a
FullDoctorReportdeterministically from a pre-collectedHostCapabilityProbe. - compute_
ieee_ crc32 - Computes the standard IEEE 802.3 CRC-32 checksum for
data. - compute_
semver_ version_ code - Computes a deterministic monotonic numeric version code (
major * 10000 + minor * 100 + patch). - compute_
workspace_ source_ fingerprint - Computes a deterministic SHA-256 fingerprint across workspace manifests and Rust source trees.
- count_
ai_ schema_ markers - Counts occurrences of dev-only
euv.ai.schema.v1andeuv.ai.schema.v2markers in binary bytes. - crc32_
bytes - Computes the standard IEEE 802.3 CRC-32 checksum used by PNG, PKZIP, and GZIP.
- create_
builder_ dev_ rebuild_ hook - Builds a
DevRebuildHookinvoking pure-Rustbuilder::{web,ecosystem}engines foreuv dev. - decode_
base64 - Decodes a standard RFC 4648 Base64 string into raw bytes.
- decode_
png_ rgba - Decodes a non-interlaced PNG image (grayscale, RGB, palette+tRNS, gray+alpha, RGBA) to
RgbaImage. - default_
brand_ logo_ png_ bytes - Returns the embedded lossless 96x96 canonical Euv brand PNG bytes with zero network access.
- deflate_
compress - Compresses raw bytes into an RFC 1951 raw DEFLATE bitstream.
- deflate_
decompress - Decompresses an RFC 1951 raw DEFLATE bitstream (stored, fixed Huffman, and dynamic Huffman).
- detect_
android_ toolchain - Detects the Android SDK, NDK, and build-tools executables from environment variables and standard paths.
- detect_
lan_ ip_ addresses - Discovers non-loopback local LAN IPv4 addresses so real mobile devices and emulators can connect to local OTA/dev servers.
- diff_
ota_ releases - Computes a structured metadata, route, and blob-size diff between two release sequences.
- encode_
base64 - Encodes raw bytes as standard RFC 4648 Base64 ASCII text.
- encode_
icns_ from_ rgba - Encodes a multi-resolution macOS
.icnscontainer (icp4..ic10,16..1024PNG chunks). - encode_
ico_ from_ rgba - Encodes a multi-resolution Windows
.icocontainer (16, 32, 48, 64, 128, 256PNG frames). - encode_
png_ rgba - Encodes an
RgbaImageas an 8-bit RGBA PNG byte vector using pure Rust zlib and CRC-32. - etag_
matches_ if_ none_ match - Checks whether an HTTP
If-None-Matchheader matchescurrent_etag(supporting*, weakW/, and comma-separated lists). - execute_
build_ pipeline - Executes the multi-platform build pipeline against the live host toolchain capability probe.
- execute_
build_ pipeline_ with_ probe - Executes the multi-platform build pipeline using an explicit
HostCapabilityProbesnapshot. - execute_
clean - Cleans
dist/,target/mobile-hosts/,target/euv-icon-cache/, stale.euv-updates/staging/, and optionallycargo clean. - execute_
cli - Dispatches a parsed
Clicommand and returns formatted output text. - expand_
target_ arg - Expands a single
TargetArg(concrete target,native, or target group) into concrete targets. - find_
euv_ config_ path - Walks up from
start_dirsearching for the nearesteuv.tomlproject configuration file. - format_
build_ pipeline_ report - Formats a
BuildPipelineReportinto an alignedTerminalTablesummary with skip install hints. - format_
bytes_ human - Formats a raw byte count into binary human units (
B,KiB,MiB,GiB). - format_
clean_ report - Formats a
CleanReportinto a crisp human-readable terminal table. - format_
dist_ inspect_ report - Formats a
DistInspectReportinto an aligned terminal summary. - format_
doctor_ report - Formats a
DoctorReportas human-readable terminal lines. - format_
duration_ ms - Formats an elapsed duration in milliseconds into a concise human-readable token (
42ms,1.25s,2m 05s). - format_
euv_ macros_ in_ source - Formats all
euvprocedural macro bodies (view!,style!,var!,state!, etc.) in a single Rust source string deterministically and idempotently. - format_
full_ doctor_ report - Formats a
FullDoctorReportinto aligned terminal tables showing tool readiness, targets, and fix actions. - format_
live_ inspect_ report - Formats a
LiveInspectReportfor terminal display. - format_
scaffold_ report - Formats a human-readable summary of a freshly scaffolded
euvproject. - format_
step_ summary - Renders a list of
StepTimingentries as an aligned summary table with totals. - format_
targets_ table - Formats a slice of
TargetCapabilityentries into an aligned readiness matrix table. - format_
workspace_ macros - Formats all
.rsfiles underroot(or a single.rsfile) in place or in--checkmode. - gc_
ota_ store - Safely garbage-collects unreferenced releases, orphan blobs, and stale staging directories.
- generate_
android_ host_ project - Generates the complete standalone Android or Wear OS host project (Rust crate, JNI Java bridge, manifest, styles, icons).
- generate_
apple_ host_ project - Generates the standalone Apple host crate (
staticlib), Objective-C/Swift entry files,Info.plist, and icons. - generate_
completions - Generates a pure-Rust shell tab-completion script for
shellcovering alleuvsubcommands, targets, groups, and flags. - generate_
harmony_ atomic_ project - Generates a HarmonyOS Atomic Service (
bundleType=atomicService,installationFree=true,AtomicAbility). - generate_
harmony_ project - Generates a complete HarmonyOS / OpenHarmony Stage-Model + N-API + XComponent + EGL project tree.
- generate_
miniapp_ project - Generates a single MiniApp vendor host project (
wechat,alipay, …, orharmony-atomic). - generate_
ota_ keygen_ report - Generates a structured
KeygenReportforeuv update keygen. - generate_
quickapp_ project - Generates a single QuickApp vendor project (
allianceorhuawei) with dynamic version and bridge JS. - generate_
signing_ key_ hex - Generates a cryptographically strong 256-bit HMAC-SHA256 signing secret encoded as 64 lowercase hex characters.
- gzip_
compress - Compresses bytes into a standard RFC 1952 GZIP stream with CRC-32 and ISIZE trailers.
- gzip_
decompress - Decompresses an RFC 1952 GZIP stream and verifies its CRC-32 and ISIZE trailers.
- handle_
embedded_ v1_ ota_ request - Handles read-only v1 OTA HTTP requests (
/healthz,/v1/projects/{p}/channels/{c}/manifest,/v1/blobs/{sha256}) directly againststorefor embedding insideeuv dev. - host_
native_ target - Resolves the host’s native
TargetArg. - init_
ota_ store - Initializes an update store directory layout, generates a signing key if absent, and optionally writes
euv-ota.json. - inject_
dev_ hmr_ into_ html - Injects the dev-only SSE hot-reload script right before
</body>in an HTML document. - inspect_
dist_ directory - Audits a local build distribution directory for bundle sizes, zero-JS compliance, and
euv-release.jsonSHA-256 integrity. - inspect_
live_ bridge - Queries a live
DevAutomationBridgeHTTP server for health, AI Schema snapshot, and 9-rule layout anomalies. - is_
safe_ release_ relative_ path - Validates that a forward-slash relative release path contains no traversal, control, or reserved segments.
- is_
valid_ numeric_ semver - Validates whether
versionmatches strict numeric semantic versioningMAJOR.MINOR.PATCH. - load_
euv_ config - Loads and parses the nearest
euv.tomlfromstart_dir(returnsOk(None)in zero-config projects). - mime_
type_ for_ path - Determines the HTTP
Content-Typeheader for a static file path by extension. - normalize_
web_ asset_ base - Normalizes a Web asset URL base prefix to match
scripts/build/build-web.shsemantics. - package_
web_ bundle_ directory - Packages a
wasm-bindgenoutput directory into a verified zero-JS bundle (index.html,404.html,.nojekyll, icons,euv-release.json). - package_
zero_ js_ web_ bundle - Packages a compiled WebAssembly output directory into a zero-JS-file bundle containing only
index.htmland.wasm. - parse_
android_ abi - Parses a user-supplied Android ABI string into an
AndroidAbidiscriminant. - parse_
euv_ toml - Parses an
euv.tomltext payload into anEuvProjectConfigwithout external TOML crate dependencies. - parse_
harmony_ device_ kind - Parses a HarmonyOS device form factor label or alias into a
HarmonyDeviceKind. - parse_
http_ byte_ range - Parses an HTTP
Range: bytes=start-[end]header against a blob oftotal_lenbytes. - parse_
miniapp_ vendors - Parses a MiniApp vendor selector (or
"all") into a list ofMiniAppVendorvalues. - parse_
quickapp_ vendors - Parses a QuickApp vendor selector (
all,quickapp,alliance,huawei) intoQuickAppVendorentries. - parse_
target_ name_ from_ config - Parses a single target or group name from
euv.tomlinto aTargetArg. - parse_
v1_ events_ path - Parses an HTTP request path matching
/v1/projects/{project}/channels/{channel}/events. - parse_
wearable_ vendors - Parses a wearable vendor selector (or
"all") into a list ofWearableVendorvalues. - patch_
wasm_ host_ glue - Patches
wasm-bindgen --target no-modulesJS glue with TextDecoder/TextEncoder and vendor WASM polyfills. - push_
hot_ ota_ artifact - Validates, signs, and publishes a
.jsonDynamicNodeSpec,.wasmbinary, or Rust widget crate intostorewithout restarting the host app. - push_
watched_ ota_ source - Publishes a watched
.jsonspec,.wasmbinary, or Rust widget crate directory directly intostore. - register_
update_ routes - Registers the read-only dynamic update and health routes onto an embeddable Hyperlane
Server. - render_
android_ manifest_ xml - Renders the complete
AndroidManifest.xmlfor an Android phone or Wear OS build. - render_
ios_ info_ plist - Renders the universal iOS and iPadOS
Info.plistwith dynamic version and bundle identifier. - render_
mode_ const_ expr - Maps a CLI
RenderArgvariant to its generated RustRenderModeexpression. - render_
watchos_ info_ plist - Renders the standalone Apple watchOS
Info.plistwith dynamic version and bundle identifier. - render_
zero_ js_ web_ html - Renders the self-contained zero-JS
index.html/404.htmldocument with preload hint, tap-highlight resets, and streaming splash loader. - resize_
rgba - Resizes an
RgbaImagecleanly using premultiplied-alpha box averaging (downscale) or bilinear interpolation (upscale). - resolve_
all_ concrete_ targets - Returns all 38 concrete euv targets including
ios-simandipad-simsimulators. - resolve_
android_ ndk_ host_ tag - Resolves the Android NDK prebuilt LLVM host directory tag for a given host OS name.
- resolve_
android_ ndk_ linker - Resolves the exact Android NDK clang linker executable for
abiandapi_level. - resolve_
build_ plans - Generates declarative cross-platform build plans for
targetusing the default phone form factor for HarmonyOS. - resolve_
build_ plans_ for_ targets - Generates deduplicated declarative build plans for one or more targets and target groups.
- resolve_
build_ plans_ with_ form_ factor - Generates declarative cross-platform build plans for
targetwith explicit HarmonyOS device form factor selection. - resolve_
cargo_ fmt_ manifest_ path - Resolves the explicit
Cargo.tomlmanifest path forcargo fmtwhentarget_rootis a project directory or manifest file. - resolve_
cargo_ lock_ package_ version - Resolves the locked version of
package_namefrom aCargo.lockfile. - resolve_
check_ steps - Builds deduplicated
cargo check --target <triple>steps fortarget. - resolve_
check_ steps_ many - Builds deduplicated
cargo check --target <triple>steps across multiple targets, groups, and packages. - resolve_
dev_ ota_ identity - Resolves the effective
(project, channel, signing_key)tuple forconfig, applying sensible dev defaults when empty. - resolve_
dev_ ota_ store_ dir - Resolves the active v1 OTA store directory for
config(defaults to<out_dir>/.euv-updates). - resolve_
effective_ package - Resolves the effective Cargo package name using precedence: CLI
--package->euv.toml-> workspace showcase/binary package. - resolve_
effective_ pipeline_ jobs - Computes the bounded concurrency worker count for executing
target_counttargets. - resolve_
effective_ version - Resolves the effective application semantic version using precedence: CLI flag ->
euv.toml-> workspaceCargo.toml-> CLI crate version. - resolve_
icon_ data_ uri - Resolves an inline
data:image/png;base64,...URI for HTML favicons and splash screens. - resolve_
icon_ png_ bytes - Resolves source icon PNG bytes from explicit path,
EUV_APP_ICON, or embedded default logo. - resolve_
icon_ rgba - Resolves and decodes the source icon into an RGBA8 raster image.
- resolve_
pipeline_ targets - Resolves the ordered, deduplicated concrete targets for a pipeline invocation using CLI flags and
euv.tomldefaults. - resolve_
production_ targets - Returns the ordered list of all 36 production concrete targets expanded by
TargetArg::All. - resolve_
proxy_ base_ url - Resolves the external proxy-aware base URL from
--proxy-baseor incoming reverse-proxy headers (X-Forwarded-Proto,X-Forwarded-Host,X-Forwarded-Prefix). - resolve_
run_ step - Builds a single run command step for
targetandrender. - resolve_
run_ step_ with_ form_ factor - Builds a single run command step for
targetwith explicit HarmonyOS form factor forwarding. - resolve_
static_ file_ with_ spa - Resolves an HTTP request path safely within
out_dirsupporting clean URLs,index.html, and optional SPA route fallback. - resolve_
target_ specs - Returns the canonical
TargetSpeclist for a CLITargetArg(concrete target,Native,All, or group). - resolve_
target_ specs_ many - Returns deduplicated
TargetSpecentries for multiple CLI targets and groups. - resolve_
targets_ dedup - Expands and deduplicates a slice of targets and groups while preserving first-seen order (defaults to
[Native]when empty). - resolve_
web_ package_ dir - Resolves the crate directory for
packageundersrc_dirsowasm-packcompiles the right workspace member. - resolve_
web_ package_ metadata - Resolves dynamic package metadata,
wasm-bindgenversion, andtheme-*features viacargo metadata. - resolve_
workspace_ metadata - Resolves dynamic Cargo workspace or package metadata by walking up from
start_dir. - resolve_
workspace_ semver - Resolves the dynamic workspace semver from the workspace manifest.
- run_
cargo_ fmt_ for_ root - Executes
cargo fmt --manifest-path <path> --allfortarget_rootwhen aCargo.tomlmanifest exists. - run_
command_ streaming - Executes an external command with live streaming output (or inherited TTY) and records wall-clock elapsed timing.
- run_
dev_ blocking - Starts the dev server and either exits immediately (
once=true) or serves continuously until interrupted. - run_
dev_ blocking_ with_ hook - Starts the dev server with an optional ecosystem rebuild hook and serves continuously unless
once=true. - run_
doctor_ fix - Runs
rustup target add <triple>for every host-supported missing Rust target reported byprobe. - run_
ota_ dev_ blocking - Runs the unified single-command
euv update devHyperlane OTA server + live file/crate watcher loop. - run_
target_ for_ dev - Maps
DevTargetArgto the exactTargetArgpreserved when launching native, TUI, or CLI apps. - run_
unified_ base_ fmt - Runs
crate-cli’s unified Prettier-aligned text, derive, and Rust formatting pass beforeeuvmacro normalization. - run_
update_ server_ blocking - Runs the Hyperlane HTTP + SSE update server in blocking CLI mode (or exits immediately when
--onceis set). - scaffold_
project - Scaffolds a lean cross-platform
euvproject insideparent_dir/<name>. - scaffold_
with_ options - Scaffolds a modern
euvproject matchingoptions.templatewith valid keylessstyle!,view!,euv.toml, and.gitignore. - scan_
bytes_ for_ ai_ schema - Counts occurrences of
euv.ai.schema.v1andeuv.ai.schema.v2marker bytes in a slice. - scan_
file_ for_ ai_ schema - Scans an artifact file on disk for dev-only AI schema markers.
- semver_
to_ version_ code - Converts a semantic version string (e.g.
"0.49.4"or"1.2.3-rc.1") into a deterministic positive numeric AndroidversionCode. - spec_
for_ platform - Returns the
TargetSpecfor a single concrete platform target. - sse_
topic_ for_ channel - Formats the Hyperlane SSE topic name isolating events per
(project, channel). - stage_
desktop_ artifacts - Stages compiled desktop binaries, emits the native platform icon, and optionally writes a
.tar.gzor.ziparchive. - start_
dev_ server - Starts a live HTTP, SSE hot-reload, debounced file-watcher, and real v1 OTA dev server in background threads.
- start_
dev_ server_ with_ hook - Starts a live hot-reload dev server with an optional pluggable ecosystem rebuild hook.
- start_
update_ server - Starts a live read-only Hyperlane HTTP + SSE update server with a background pointer watcher.
- target_
triple_ for_ host - Resolves the preferred Rust target triple for
target, adapting native desktop triples to host CPU architecture. - transform_
web_ bindgen_ glue - Strips ES module exports and rewrites
import.meta.urlWASM resolution insidewasm-bindgenglue JS. - validate_
dynamic_ wasm_ bytes - Validates a dynamic
.wasmbinary againsteuv-coresandbox limits,euv_abi_version, andeuv_renderexport contracts. - validate_
store_ identifier - Validates that a store path component (
project,channel,track,stage_id) contains no traversal or slashes. - verify_
no_ ai_ schema_ leak - Verifies that a release artifact contains zero dev-only AI schema marker bytes.
- verify_
ota_ store - Audits an update store offline for signature authenticity, pointer consistency, and SHA-256 blob integrity.
- verify_
release_ manifest - Verifies
euv-release.jsonschema, version, required assets, sizes, and SHA-256 digests on disk. - verify_
zero_ js_ web_ bundle - Verifies every release invariant on a zero-JS WebAssembly bundle directory.
- write_
android_ mipmap_ icons - Writes all five Android/Wear OS mipmap launcher icons (
48..192px) underres_dir. - write_
icon_ icns - Writes a multi-resolution macOS
.icnsicon bundle tooutput_path. - write_
icon_ ico - Writes a multi-resolution Windows
.icoicon file tooutput_path. - write_
icon_ or_ fallback - Writes an icon PNG via the supplied callback or emits the embedded 1x1 transparent PNG fallback.
- write_
icon_ png - Writes a square resized PNG icon of
size x sizepixels tooutput_path. - write_
ios_ bundle_ icons - Writes all three iOS/iPadOS
.appbundle icon PNGs (120,180,1024) intobundle_dir. - write_
release_ manifest - Generates and writes the deterministic SHA-256
euv-release.jsonmanifest fordist_dir. - write_
tar_ gz_ entries - Writes a deterministic pure-Rust gzipped POSIX ustar
.tar.gzarchive from explicit entries. - write_
web_ icons - Writes standard Web showcase icon PNGs (
favicon.png,apple-touch-icon.png,euv-studio-logo-64.png,icon-64.png,icon-180.png). - write_
web_ raw_ icons - Writes raw Web WASM artifact icons (
favicon.png,apple-touch-icon.png,icon-64.png,icon-180.png). - write_
zip_ entries - Writes a pure-Rust PKZIP archive with per-entry stored (
-0) or DEFLATE compression. - zlib_
compress - Compresses bytes into a standard RFC 1950 zlib stream with Adler-32 trailer.
- zlib_
decompress - Decompresses an RFC 1950 zlib stream and validates its header and Adler-32 checksum.
Type Aliases§
- DevRebuild
Hook - Pluggable callback invoked when
euv devrebuilds ecosystem targets (harmony,wearable,miniapp,quickapp). - Mobile
Icon Writer - Callback signature writing a square PNG application icon at the requested pixel dimension.