modi 0.1.1

An out-of-the-box modular dependency injection web application framework.
Documentation
mod manifest;

// Modules
#[macro_use]
mod trait_alias;
mod component;
mod module;
mod parameters;
mod provider;
mod service;

// Re-export proc macros

pub use ::{ modi_macros::Component, modi_macros::dyn_modules };

pub(crate) use ::modi_macros::Provider;

// Reexport OnceCell to support lazy components
#[doc(hidden)]
#[cfg(feature = "thread_safe")]
pub use once_cell::sync::OnceCell;
#[doc(hidden)]
#[cfg(not(feature = "thread_safe"))]
pub use once_cell::unsync::OnceCell;

// Expose a flat module structure
pub use self::{ component::*, manifest::*, module::*, service::* };
pub(crate) use self::provider::*;