- Notifications
You must be signed in to change notification settings - Fork386
A catalogue of Rust design patterns, anti-patterns and idioms
License
rust-unofficial/patterns
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An open source book about design patterns and idioms in the Rust programminglanguage that you can readhere.
You can also download the book in PDF format fromthis link.
You are missing content in this repository that can be helpful for others, andyou are eager to explain it? Awesome! We are always happy about newcontributions (e.g. elaboration or corrections on certain topics) to thisproject.
You can check theUmbrella issue for allthe patterns, anti-patterns, and idioms that could be added.
We suggest reading ourContribution guide to get moreinformation on how contributing to this repository works.
This book is built withmdbook. You caninstall it by runningcargo install mdbook
.
cargo install mdbook-last-changed
for date changes in the footercargo install mdbook-pandoc
for rendering the book to PDFcargo install mdbook-i18n-helpers
for translation and i8n support
# Source the .env file to get the PANDOC_VERSION. ./.envsudo apt-get updatesudo apt-get install -y texlive texlive-latex-extra texlive-luatex texlive-lang-cjk librsvg2-bin fonts-notocurl -LsSf https://github.com/jgm/pandoc/releases/download/$PANDOC_VERSION/pandoc-$PANDOC_VERSION-linux-amd64.tar.gz| tar zxf -
If you want to build it locally you can run one of these two commands in theroot directory of the repository:
mdbook build
Builds static html pages as output and place them in the
/book
directory bydefault.mdbook serve
Serves the book at
http://localhost:3000
(port is changeable, take a look atthe terminal output to be sure) and reloads the browser when a change occurs.
The content of this repository is licensed underMPL-2.0; seeLICENSE.
About
A catalogue of Rust design patterns, anti-patterns and idioms
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.