mithril_aggregator/dependency_injection/
mod.rs

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

pub use builder::*;
pub use containers::*;
pub use error::*;