@rezi-ui/native
v0.1.0-alpha.30
Published
Native addon for Rezi (napi-rs + Zireael engine).
Readme
@rezi-ui/native
Rust + napi-rs Node-API addon that hosts the Zireael C engine and exposes a minimal, safe JS API for the Node backend.
This package is not used directly by most applications. Install and use @rezi-ui/node, which depends on this package.
Local development
Build the native addon for your host platform:
npm -w @rezi-ui/native run build:nativeSmoke test:
npm -w @rezi-ui/native run test:native:smokeDesign and constraints
- Engine placement is controlled by
@rezi-ui/nodeexecutionMode(auto|worker|inline). executionMode: "auto"selects inline whenfpsCap <= 30, worker otherwise.- All buffers across the boundary are caller-owned; binary formats are validated strictly.
See:
