<div align="center">
# Euv-core
<img src="https://devhub.vip/pages/docs/img/euv.png" alt="Euv-core logo" height="160">
**Cross-Platform Native Runtime, Direct GPU, 3D Engine & 13 Platform Backends**
[](https://crates.io/crates/euv-core)
[](https://crates.io/crates/euv-core)
[](https://docs.rs/euv-core)
[](https://github.com/euv-dev/euv/actions)
[](https://www.rust-lang.org)
[](../LICENSE)
[Workspace Overview](../README.md) · [API Docs](https://docs.rs/euv-core/latest/) · [Agent Engineering Rules](../AGENTS.md)
</div>
---
## Overview
Core cross-platform native runtime for `euv`: generation-indexed reactive arena, deterministic Flexbox/Grid layout with O(1) clean-subtree caching and effect-dependency partial damage, flat retained scene graph, zero-cost macro Go-to-Definition schemas (`StyleProps`, `ViewElement`..`PageSlotElement`), native OS fonts with decoupled `TextShapingCache`/`GlyphAtlas`, direct GPU/Software/Hybrid and double-buffered Terminal TUI/CLI rendering, high-refresh interpolated 2D/3D ray-traced game engine, pure-Rust GIF89a/MP4 media decoders, Hyperlane-compatible dynamic OTA runtime, and direct platform backends across 13 targets.
## Responsibilities & Module Layout
- `reactive` — `Signal`, `Memo`, `Effect`, `Selector`, `Scope` (with `freeze` / `resume`), `LocalState`, `GlobalState`, and typed `EventBus`
- `scene` — Flat `SceneTree`, ambient `Context`, `Component` + standalone `Lifecycle`, `PageLifecycleController`, universal scroll chaining, `NodeTransition`, `TextNodeContent`, and re-exported IDE Go-to-Definition DSL schemas (`StyleProps`, `ViewElement`..`PageSlotElement`)
- `layout` — Deterministic Flexbox, Grid, Absolute/Fixed positioning, SafeArea insets, hit-testing, O(1) clean-subtree translation caching, `LayoutTelemetry`, and surgical partial-layout conservative bounds diffing
- `font` — Native OS proportional, monospace, bold, and italic glyph rasterization paired with decoupled `TextShapingCache` and fence-reclaimed `GlyphAtlas`
- `render` — `DisplayList`, GPU direct-draw (`RenderConfig::hardware_direct`, `GpuResourceRing`, non-degrading `FallbackPolicyEngine`), order-preserving opaque occlusion culling, adaptive software parallelism, `DrawCommand::BackdropBlur`, and double-buffered `TerminalRenderer` (O(1) idle short-circuit, grapheme clusters, piped CLI)
- `app` & `platform` — `FrameTelemetry`, `RoutePrewarmer`, `ResourceAccountant`, `SystemEvent` lifecycle & 0% CPU/GPU background freeze across 13 targets (`Web`, `Android`, `iOS`, `iPadOS`, `macOS`, `Windows`, `Linux`, `HarmonyOs`, `Wearable` across 9 smartwatch ecosystems incl. vivo BlueOS Watch Round/GT presets, `MiniApp`, `QuickApp`, `Terminal`, `TerminalCli`)
- `game` & `media` — Double-buffered `DoubleBufferedSnapshot` interpolation, `RenderBufferPool`/`GpuCompositeTarget`, split static/dynamic 3D BVH ray tracing, pure-Rust LZW GIF87a/89a (`GifDecoder`/`GifStreamPlayer`), and ISOBMFF MP4 + hardware zero-copy video pipeline (`Mp4Demuxer`/`VideoPlaybackPipeline`)
- `dynamic` — FIPS 180-4 SHA-256 / RFC 4231 HMAC-SHA256 signed `ReleaseManifest`, per-route pinned `DynamicReleaseRuntime`, host-owned `BusinessStateStore`, `DynamicComponentContract`, and background `UpdateWorker` (SSE + incremental blob resume)
## Installation & Usage
```sh
cargo add euv-core
```
## Verification
```sh
cargo run -p euv-cli -- fmt --check
cargo clippy -p euv-core --all-features --all-targets -- -D warnings
cargo test -p euv-core --all-features
```
## Documentation & Governance
- Update this `README.md` alongside any public API, macro, component, CLI, or module-boundary change per [`../AGENTS.md`](../AGENTS.md#4-unified-documentation--skill-maintenance-policy).
- Project standards and workflows live in [`../.agents/skills/euv/SKILL.md`](../.agents/skills/euv/SKILL.md).
## License
This project is licensed under the MIT License. See the [LICENSE](../LICENSE) file for details.
## Contact
For inquiries, please contact the author at [root@devhub.vip](mailto:root@devhub.vip).