#![forbid(unsafe_code)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#[cfg(not(panic = "unwind"))]
compile_error!(
"navree requires `panic = \"unwind\"`: a panicking handler must not abort the whole server"
);
mod app;
mod builder;
mod command;
mod container;
mod error;
mod graph;
mod introspect;
mod key;
mod lazy;
mod lifecycle;
mod module;
mod resolver;
pub use app::{App, AppBuilder, AppContext, Contributed, ModuleInfo, Navree, WeakAppContext};
pub use builder::{Factory, ModuleBuilder};
pub use command::{CommandFn, CommandSpec};
pub use container::RequestScope;
pub use error::{BootErrors, KernelError};
pub use graph::{CommandInfo, GraphReport, ModuleReport, ProviderReport};
pub use key::{ModuleId, ProviderKey, Scope};
pub use lazy::Lazy;
pub use lifecycle::Lifecycle;
pub use module::{CodeConfigured, ConfiguredModule, Injectable, IntoModules, Module};
pub use resolver::Resolver;
pub type BoxError = Box<dyn std::error::Error + Send + Sync + 'static>;
pub type BoxFuture<'a, T> = std::pin::Pin<Box<dyn std::future::Future<Output = T> + Send + 'a>>;