Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A catalogue of Rust design patterns, anti-patterns and idioms

License

NotificationsYou must be signed in to change notification settings

rust-unofficial/patterns

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.

Contributing

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.

Building with mdbook

This book is built withmdbook. You caninstall it by runningcargo install mdbook.

Additional dependencies

  • cargo install mdbook-last-changed for date changes in the footer

  • cargo install mdbook-pandoc for rendering the book to PDF

  • cargo install mdbook-i18n-helpers for translation and i8n support

Texlive

# 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 -

Building the book

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 athttp://localhost:3000 (port is changeable, take a look atthe terminal output to be sure) and reloads the browser when a change occurs.

License

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

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp