Skip to content

Glossary: Software Design Patterns in Rust

DI container

Also written: dependency injection container

A library that builds and connects an application's objects automatically from rules. Rust programs usually wire parts by hand in main.

Where the book teaches it

Related terms

Composition rootDependency injection