//! aex — a D&D 5e character sheet and campaign dashboard. //! //! Leptos 0.8 app with actix-web SSR and client-side hydration. The crate //! root declares the modules and the WASM entry point; `main.rs` holds the //! SSR server, `app.rs` the component tree. pub mod app; #[allow(unused_imports)] use leptos::prelude::*; #[macro_use] extern crate log; #[allow(unused_imports)] #[macro_use] extern crate anyhow; pub (crate) mod prelude; pub mod entities; pub mod state; pub mod utils; pub mod statics; mod components; #[allow(unused_imports)] use prelude::*; /// WASM entry point: hydrates `App` into the server-rendered DOM. /// Only compiled with the `hydrate` feature. #[cfg(feature = "hydrate")] #[wasm_bindgen::prelude::wasm_bindgen] pub fn hydrate() { use app::*; console_error_panic_hook::set_once(); leptos::mount::hydrate_body(App); }