You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
simonsan 06f79a20db
Upgrade to mdbook version v0.4.22 (#328)
2 years ago
.github ci: keep github actions up to date with dependabot (#307) 2 years ago
additional_resources Fixing grammar and spelling mistakes (#270) 3 years ago
anti_patterns Change lints hyphen to underscore (#308) 2 years ago
functional Fixed minor typos, formatting, grammar issues, and outdated link (#318) 2 years ago
idioms chore: add link to deref trait (#321) 2 years ago
patterns RAII: Grammar correction (#324) 2 years ago
refactoring Shorten lines to line-length 80 (#208) 3 years ago
.env Upgrade to mdbook version v0.4.22 (#328) 2 years ago
.gitignore Adding Strategy pattern (#146) 3 years ago
.markdownlint.yaml Shorten lines to line-length 80 (#208) 3 years ago
CONTRIBUTING.md Fixing grammar and spelling mistakes (#270) 3 years ago
LICENSE Initial commit 9 years ago
README.md Fixing grammar and spelling mistakes (#270) 3 years ago
SUMMARY.md Add Link to zh-CN translation (#293) 2 years ago
book.toml Adding mdbook configuration and deployment to gh-pages (#111) 3 years ago
intro.md intro: improve "design patterns in rust" section (#303) 2 years ago
template.md Apply markdownlint to project (#163) 3 years ago
translations.md Add Link to zh-CN translation (#293) 2 years ago

README.md

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.