mod app;
mod config;
pub mod health;
mod lifecycle;
pub mod metrics;
pub mod process;
#[path = "error/mod.rs"]
mod runtime_error;
pub mod settings;
pub mod setup;
pub mod task;
pub mod telemetry;
pub mod web;
pub use app::App;
pub use config::{AppConfig, ConfigError};
pub use lifecycle::{AppHandle, Phase, Running};
pub use runtime_error::{Error, Failure, FailureKind, Result};
pub use serde;
pub use servlet_macros::{instrument, main};
pub use tokio::{fs, io, net, sync, time};
pub use tracing::{
Instrument, Level, Span, debug, debug_span, error, error_span, info, info_span, span, trace,
trace_span, warn, warn_span,
};
pub mod ecosystem {
pub use axum;
pub use tokio;
pub use tower;
pub use tracing;
pub use zlid;
#[cfg(feature = "otel")]
pub use {opentelemetry, opentelemetry_sdk, tracing_opentelemetry, tracing_subscriber};
#[cfg(feature = "recourse")]
pub use {recourse, recourse_axum};
}
#[cfg(feature = "postgres")]
pub mod sql;
#[cfg(feature = "client")]
pub mod client;