1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#![deny(clippy::all)]
#![feature(type_alias_enum_variants)]
#![feature(arbitrary_self_types)]
pub mod event {
pub use sauron_vdom::{builder::on, event::InputEvent, Event};
}
pub mod backend;
mod component;
mod program;
pub mod util;
pub mod widget;
pub use backend::Backend;
pub use component::Component;
pub use program::Program;
pub use sauron_vdom::{builder, Callback, Event, Value};
pub use widget::Widget;
pub type Node<MSG> = sauron_vdom::Node<Widget, Event, MSG>;
pub type Element<MSG> = sauron_vdom::Element<Widget, Event, MSG>;
pub type Patch<'a, MSG> = sauron_vdom::Patch<'a, Widget, Event, MSG>;
pub type Attribute<MSG> = sauron_vdom::Attribute<Event, MSG>;