This library provides an easy to use dependency injection container with a focus on ergonomics and configurability at the cost of runtime performance. For a more performance-oriented container, look for a compile-time dependency injection library.
Sample code is available on the [docs].
Clone the repository, then build the project with cargo:
bash
git clone https://github.com/TehPers/runtime_injector
cd runtime_injector
cargo build
As the library is still in development, the only supported Rust version is the most recent version of Rust. The library may work on older versions, but there is no guarantee.
This library is licensed under your choice of either MIT or Apache 2.0.