Something went wrong. Try again.
A pit full of rusty nails
Something went wrong. Try again.
1234567891011121314151617181920212223242526#![forbid(unsafe_code)]use color_eyre::Result;
#[cfg(feature = "custom_alloc")]#[global_allocator]static GLOBAL: mimalloc_safe::MiMalloc = mimalloc_safe::MiMalloc;
fn main() -> Result<()> { color_eyre::install()?;
let config = nailconfig::get_configuration()?;
let inputs = nailloader::get_input_files(config.as_ref())?;
let templates = nailloader::get_template_files(config.as_ref())?;
let spicy = nailspicy::get_spicy_payload(config.as_ref());
nailrt::start( nailstate::ServerState::new(config, inputs, templates, spicy), nailserve::serve, )?;
Ok(())}