Rust Dependency-injection Resources