Rust设计模式

Rust 设计模式、反模式和习语目录。「A catalogue of Rust design patterns, anti-patterns and idioms」

Github stars Tracking Chart

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

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

Main metrics

Overview
Name With Ownerrust-unofficial/patterns
Primary LanguageHandlebars
Program languageShell (Language Count: 2)
Platform
License:Mozilla Public License 2.0
所有者活动
Created At2015-10-15 02:10:14
Pushed At2025-04-13 12:01:40
Last Commit At
Release Count0
用户参与
Stargazers Count8.4k
Watchers Count194
Fork Count383
Commits Count339
Has Issues Enabled
Issues Count134
Issue Open Count70
Pull Requests Count234
Pull Requests Open Count8
Pull Requests Close Count20
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private