nuit_core/
lib.rs

1#![feature(
2    associated_type_defaults,
3    let_chains,
4    macro_metavar_expr,
5)]
6
7mod compose;
8mod context;
9mod event;
10mod ffi;
11mod node;
12mod root;
13mod state;
14mod update;
15mod utils;
16
17pub use compose::*;
18pub use context::*;
19pub use event::*;
20pub use ffi::*;
21pub use node::*;
22pub use root::*;
23pub use state::*;
24pub use update::*;
25pub use utils::*;
26
27// We alias the crate (nuit-core) to nuit to make nuit-derive's derive macros
28// work in the same way as the do for nuit's library clients (which shouldn't
29// need to know about nuit-core). See https://stackoverflow.com/a/57049687.
30pub(crate) extern crate self as nuit;