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 app;
7mod event;
8mod reactive;
9mod renderer;
10mod vdom;
11
12#[cfg(test)]
13mod tests;
14
15pub use {app::*, event::*, reactive::*, vdom::*};
16
17pub(crate) use renderer::*;
18
19use std::{
20    any::Any,
21    cell::{Ref, RefCell, UnsafeCell},
22    collections::{HashMap, HashSet},
23    fmt::{self, Display, Formatter},
24    marker::PhantomData,
25    mem::{swap, take},
26    num::ParseIntError,
27    ops::Deref,
28    rc::Rc,
29    sync::{
30        LazyLock,
31        atomic::{AtomicBool, AtomicUsize, Ordering},
32    },
33};
34
35use {js_sys::*, lombok_macros::*, wasm_bindgen::prelude::*, web_sys::*};