/di-rs

Dependency injection container for Rust

Primary LanguageRustApache License 2.0Apache-2.0

Rust DI

Ownership-driven Dependency Injection for Rust.

Build Status

Refactoring DI into more rusty ownership-driven architecture.

Documentation

Usage

This library is being refactored.

Put this in your Cargo.toml:

[dependencies]
di = "*"

And this in your crate root:

extern crate di;

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.