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
Marco Ieni ab81da9b20
Add edit url (#333)
1 year 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 Add Lenses and Prisms (#326) 1 year 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 chore: update to mdbook v0.4.25 (#331) 1 year 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 Lenses and Prisms (#326) 1 year ago
book.toml Add edit url (#333) 1 year 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.