About this project

Rust Design Patterns is an open-source book that catalogues design patterns, anti-patterns and idioms for the Rust programming language. The rendered book is published online and can also be downloaded as a PDF. The project is community-oriented: the README invites contributions such as elaborations or corrections on existing topics, points readers to an umbrella issue listing patterns, anti-patterns and idioms that could still be added, and refers to a contribution guide for details on how to participate. The book is generated with mdbook. Building locally requires installing mdbook via cargo, plus optional helper tools: mdbook-last-changed for footer date changes, mdbook-pandoc for PDF rendering, and mdbook-i18n-helpers for translation and internationalization support. PDF generation additionally needs a TeX Live toolchain and Pandoc, with setup commands provided in the README. Two build commands are documented: `mdbook build` produces static HTML pages in the /book directory by default, while `mdbook serve` hosts the book locally (default port 3000) and reloads the browser on changes. The repository content is licensed under MPL-2.0.