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 noderef;
9mod reactive;
10mod renderer;
11mod vdom;
12
13pub use {app::*, event::*, noderef::*, reactive::*, vdom::*};
14
15pub use std::{
16    collections::hash_map::DefaultHasher,
17    collections::{HashMap, HashSet, VecDeque},
18    fmt::{self, Debug, Display, Formatter, Result as FmtResult},
19    hash::{Hash, Hasher},
20    marker::PhantomData,
21    mem::{swap, take, zeroed},
22    panic::{AssertUnwindSafe, catch_unwind},
23};
24
25pub(crate) use renderer::*;
26
27use std::{
28    any::Any,
29    borrow::Cow,
30    cell::{Ref, RefCell, UnsafeCell},
31    iter::Iterator,
32    num::ParseIntError,
33    ops::Deref,
34    rc::Rc,
35    sync::{
36        LazyLock,
37        atomic::{AtomicBool, AtomicUsize, Ordering},
38    },
39    vec::Vec,
40};
41
42use {js_sys::*, lombok_macros::*, wasm_bindgen::prelude::*, web_sys::*};