#[allow(
dead_code,
reason = "contract layer is integrated by later command stages"
)]
mod api;
mod app;
mod commands;
#[allow(
dead_code,
reason = "configuration is consumed by later command stages"
)]
mod config;
#[allow(
dead_code,
reason = "transport errors are consumed by later command stages"
)]
mod error;
#[allow(
dead_code,
reason = "conversion layer is integrated by later command stages"
)]
mod nu;
mod plugin;
mod tracing;
#[cfg(feature = "mimalloc")]
#[global_allocator]
static GLOBAL_ALLOCATOR: mimalloc::MiMalloc = mimalloc::MiMalloc;
fn main() {
let _tracing_guard = tracing::init().expect("initialize tracing");
let runtime = tokio::runtime::Builder::new_multi_thread()
.enable_all()
.build()
.expect("build Tokio runtime");
app::serve(runtime);
}