# The Snapfit Book (v0.1.1) > How to build with snapfit (v0.1.1), a zero-cost, compile-time verified, pure-Rust dependency injection framework. Every example is a complete program that compiles and runs, with its recorded output shown underneath. - [Contents](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/index.md): every part and chapter, in reading order. ## Welcome - [Welcome to Snapfit](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/welcome-to-snapfit.md) - [How to read this book](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/how-to-read-this-book.md) - [Quick start](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/quick-start.md) ## Part 1: Why dependency injection - [1. A service that builds its own dependencies](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/01-a-service-that-builds-its-own-dependencies.md) - [2. Choosing between implementations](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/02-choosing-between-implementations.md) - [3. Who builds everything?](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/03-who-builds-everything.md) ## Part 2: Snapfit - [4. Why we built Snapfit](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/04-why-we-built-snapfit.md) - [What this version supports](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/what-this-version-supports.md) ## Part 3: Wiring a container - [5. Installing Snapfit and your first singleton](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/05-installing-and-first-singleton.md) - [6. Pure domain types, one container](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/06-pure-domain-types.md) - [7. Wiring dependencies and custom constructors](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/07-wiring-dependencies-and-constructors.md) - [8. Read the container, know the graph](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/08-read-the-container-know-the-graph.md) - [9. Multiple instances of the same type](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/09-multiple-instances-of-the-same-type.md) - [10. Passing dependencies by name](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/10-passing-dependencies-by-name.md) - [11. Choosing an implementation](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/11-choosing-an-implementation.md) ## Part 4: Compile-time guarantees and agents - [12. Mistakes caught by the compiler](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/12-mistakes-caught-by-the-compiler.md) - [13. Working with coding agents](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/13-working-with-coding-agents.md) ## Appendices - [Appendix 1: Cheat sheet](https://marlon-sousa.github.io/snapfit-rs/book/v0.1.1/appendix-1-cheat-sheet.md) ## Optional - [snapfit Front Page](https://marlon-sousa.github.io/snapfit-rs/index.md): overview, Why Snapfit, and releases.