Simple dependency injection container for Rust.
Code:
```rust use std::sync::Arc; use easydi::{Container, ServiceProvider}; pub trait Animal { fn makesound(&self); }
struct Dog; impl Animal for Dog { fn make_sound(&self) { println!("woof woof!") } }
fn main() {
let mut container = Container::new();
let animal: Arc
This project welcomes all kinds of contributions. No contribution is too small!
If you want to contribute to this project but don't know how to begin or if you need help with something related to this project, feel free to send me an email https://www.eisberg-labs.com/ (contact form at the bottom).
Some pointers on contribution are in Contributing.md
This project follows the Rust Code of Conduct.
Distributed under the terms of MIT license and Apache license.