Go to file
Taras Burko 7580985e8b
Fix JSON formatter bug in Strategy pattern (#340)
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
2023-02-09 22:14:26 +01:00
.github ci: keep github actions up to date with dependabot (#307) 2022-07-11 16:21:03 +02:00
additional_resources Fixing grammar and spelling mistakes (#270) 2021-08-25 04:43:23 +02:00
anti_patterns Replace wording "abuse" with "misuse" (#339) 2023-01-18 18:39:50 +01:00
functional Add Lenses and Prisms (#326) 2022-12-10 02:23:26 +01:00
idioms chore: add link to deref trait (#321) 2022-10-05 11:53:08 +02:00
patterns Fix JSON formatter bug in Strategy pattern (#340) 2023-02-09 22:14:26 +01:00
refactoring Shorten lines to line-length 80 (#208) 2021-01-22 00:00:02 +01:00
.env chore: update to mdbook v0.4.25 (#331) 2022-12-22 15:56:56 +01:00
.gitignore Adding Strategy pattern (#146) 2021-01-12 01:04:25 +01:00
.markdownlint.yaml Shorten lines to line-length 80 (#208) 2021-01-22 00:00:02 +01:00
book.toml add site url (#334) 2022-12-23 14:02:14 +01:00
CONTRIBUTING.md Fixing grammar and spelling mistakes (#270) 2021-08-25 04:43:23 +02:00
intro.md intro: improve "design patterns in rust" section (#303) 2022-03-17 14:02:20 +01:00
LICENSE Initial commit 2015-08-31 10:06:10 +12:00
README.md Fixing grammar and spelling mistakes (#270) 2021-08-25 04:43:23 +02:00
SUMMARY.md Add Lenses and Prisms (#326) 2022-12-10 02:23:26 +01:00
template.md Apply markdownlint to project (#163) 2021-01-05 15:36:20 +01:00
translations.md Add Link to zh-CN translation (#293) 2022-01-17 17:53:40 +01:00

Rust Design Patterns

An open source book about design patterns and idioms in the Rust programming language that you can read here.

Contributing

You are missing content in this repository that can be helpful for others, and you are eager to explain it? Awesome! We are always happy about new contributions (e.g. elaboration or corrections on certain topics) to this project.

You can check the Umbrella issue for all the patterns, anti-patterns, and idioms that could be added.

We suggest reading our Contribution guide to get more information on how contributing to this repository works.

Building with mdbook

This book is built with mdbook. You can install it by running cargo install mdbook.

If you want to build it locally you can run one of these two commands in the root directory of the repository:

  • mdbook build

    Builds static html pages as output and place them in the /book directory by default.

  • mdbook serve

    Serves the book at http://localhost:3000 (port is changeable, take a look at the terminal output to be sure) and reloads the browser when a change occurs.

License

The content of this repository is licensed under MPL-2.0; see LICENSE.