runtime_injector icon indicating copy to clipboard operation
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 Current version Current documentation
runtime_injector_actix Current version Current documentation

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.