euv 0.39.1

A high-performance cross-platform native UI framework for Rust targeting Web, Android, iOS, iPadOS, macOS, Windows, and Linux with direct system APIs, fine-grained reactivity, and multi-mode rendering.
Documentation

euv

Api Docs

A high-performance cross-platform native UI framework for Rust targeting Web, Android, iOS, iPadOS, macOS, Windows, and Linux via direct system APIs, fine-grained reactivity, zero-VDOM macros, and multi-mode rendering.

Highlights

  • 7 Target Platforms via Direct OS APIs (Zero WebView):
    • Web (wasm32-unknown-unknown): DOM Canvas / WebGPU / WebGL2
    • Android (aarch64-linux-android): Direct NDK ANativeWindow + Vulkan / GLES
    • iOS & iPadOS (aarch64-apple-ios): Direct libobjc + UIKit (UIDevice.userInterfaceIdiom, SafeArea, Stage Manager, Apple Pencil) + Metal
    • macOS (aarch64-apple-darwin): Direct libobjc + AppKit NSWindow + CoreGraphics + Metal
    • Windows (x86_64-pc-windows-msvc): Direct Win32 user32/gdi32/kernel32 + Direct3D 12
    • Linux (x86_64-unknown-linux-gnu): Runtime dlopen Wayland & X11 + Vulkan / OpenGL
  • Fine-Grained Push-Pull Reactivity: Generation-indexed arena Signal, Memo, Effect, Selector, Scope, and batch (~660 ns diamond updates, ~217 ns O(1) selector switch).
  • Deterministic Cross-Platform Layout & Rendering: Retained scene graph with O(1) clean-subtree caching (~23 ns cached pass), built-in deterministic glyph atlas, and RenderMode::{Auto, Software, Hardware, Hybrid} with bit-identical FNV-1a pixel parity across all platforms.
  • Unified Window Controls & SafeArea: WindowConfig, WindowState, WindowCommand, SafeAreaInsets, DPI scaling, fullscreen, and orientation locks.
  • euv-ui Component Library: 17 zero-CSS compiled design system presets (Light & Dark) and adaptive desktop/tablet/mobile primitives.

Installation

cargo add euv euv-ui

Quick Commands

cargo run -p euv-cli -- doctor
cargo run -p euv-cli -- build --target all --plan
cargo run -p euv-example -- --headless --software
cargo run -p euv-docs -- --headless
cargo run -p euv-performance

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Contact

For any inquiries, please reach out to the author at root@devhub.vip.