runtime_injector
runtime_injector copied to clipboard
Runtime dependency injection in Rust
runtime_injector
This library provides a powerful, easy to use inversion-of-control (IoC) container with a focus on ergonomics and configurability.
Status
Crate | crates.io | docs |
---|---|---|
runtime_injector | ||
runtime_injector_actix |
Getting started
For local development of runtime_injector, clone the repository, then build the project with cargo:
git clone https://github.com/TehPers/runtime_injector
cd runtime_injector
cargo build
If you want to build the project using the "rc" feature instead, disable default features, and enable the "rc" feature:
cargo build -p runtime_injector --no-default-features --features rc
Note that not all crates support the "rc" feature, so you will need to specify which crate you want to build.
License
These libraries are licensed under your choice of either MIT or Apache 2.0.