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    borrow::Cow,
17    collections::hash_map::DefaultHasher,
18    collections::{HashMap, HashSet, VecDeque},
19    fmt::{self, Debug, Display, Formatter, Result as FmtResult},
20    hash::{Hash, Hasher},
21    marker::PhantomData,
22    mem::{swap, take, zeroed},
23    panic::{AssertUnwindSafe, catch_unwind},
24};
25
26pub(crate) use renderer::*;
27
28use std::{
29    any::Any,
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::*};