use super::*;
impl Application {
pub fn new(root: impl Module + 'static) -> Self {
#[cfg(feature = "tracing")]
info!("Creating new Application instance with root module");
Self {
root: Some(Box::new(root)),
injector: Shared::new(Injector::root()),
started_modules: Vec::new(),
}
}
}