mod app;
pub mod codegen;
#[cfg(feature = "sqlite")]
pub mod db;
pub mod env;
pub mod html;
mod island;
#[doc(hidden)]
pub use dotenvy_macro;
pub use app::App;
pub use axum::extract::{Path, State};
pub use axum::{Router, routing};
pub use island::island_fn;
use maud::Markup;
pub use serde_json::json;
#[macro_export]
macro_rules! env {
($key:expr) => {
$crate::dotenvy_macro::dotenv!($key)
};
}
pub type Children = Markup;
#[macro_export]
macro_rules! routes {
() => {
type __RejoiceState = ();
include!(concat!(env!("OUT_DIR"), "/routes_generated.rs"));
};
($state:ty) => {
type __RejoiceState = $state;
include!(concat!(env!("OUT_DIR"), "/routes_generated.rs"));
};
}