Skip to main content

euv_core/
lib.rs

1//! euv
2//!
3//! A declarative, cross-platform UI framework for Rust with virtual DOM,
4//! reactive signals, and HTML macros for WebAssembly.
5
6mod event;
7mod reactive;
8mod renderer;
9mod vdom;
10
11pub use {event::*, reactive::*, renderer::*, vdom::*};
12
13#[cfg(test)]
14use std::cell::Cell;
15use std::{
16    any::Any,
17    borrow::Cow,
18    cell::{Ref, RefCell, RefMut, UnsafeCell},
19    collections::HashMap,
20    mem::take,
21    ops::{Deref, DerefMut},
22    ptr::null_mut,
23    rc::Rc,
24    sync::atomic::{AtomicBool, AtomicUsize, Ordering},
25};
26
27#[cfg(target_arch = "wasm32")]
28use {
29    js_sys::{Function, Reflect},
30    wasm_bindgen::closure,
31};
32use {lombok_macros::*, wasm_bindgen::JsCast, wasm_bindgen::prelude::*, web_sys::*};