runtime_injector

Current version Current documentation

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.

The container should feel similar to anyone familiar with Microsoft's dependency injection library for C#. Sample code is available on the [docs].

Getting started

Clone the repository, then build the project with cargo:

bash git clone https://github.com/TehPers/runtime_injector cd runtime_injector cargo build

Minimum supported Rust version

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.

License

This library is licensed under your choice of either MIT or Apache 2.0.