hypen_engine/
lib.rs

1pub mod ir;
2pub mod reactive;
3pub mod reconcile;
4pub mod dispatch;
5pub mod lifecycle;
6pub mod serialize;
7pub mod engine;
8pub mod state;
9pub mod logger;
10pub mod render;
11
12// WASM bindings module
13// The FFI types (wasm::ffi) are always available for testing and cross-platform use.
14// The actual WASM bindings are conditionally compiled:
15// - `js` feature: JavaScript bindings via wasm-bindgen (Node.js, Bun, browsers)
16// - `wasi` feature: WASI-compatible C FFI (Go, Python, Rust, etc.)
17pub mod wasm;
18
19pub use engine::Engine;
20
21pub use ir::{ast_to_ir, Element, Value};
22pub use lifecycle::{Module, ModuleInstance};
23pub use reconcile::Patch;
24pub use state::StateChange;