mithril_aggregator/dependency_injection/mod.rs
1//! Dependency injection module.
2//! This module provides tools to initialize and share resources and services
3//! amongst different threads.
4//!
5//! It takes all its inputs from the configuration which should combine inputs from:
6//!
7//! * environment
8//! * command line
9//! * configuration files
10//! * default values
11//!
12//! The Builder ensure every services has required dependencies to build and
13//! provide services containers for each sub process.
14mod builder;
15mod containers;
16mod error;
17
18pub use builder::*;
19pub use containers::*;
20pub use error::*;