sauron_native/
lib.rs

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