/patterns-zh

Rust设计模式,反模式与典例的目录

Primary LanguageShellMozilla Public License 2.0MPL-2.0

Rust设计模式

看样子已经有别人做好的翻译,弃坑弃坑(

仓库 chuxiuhong-rust-patterns-zh

gitlocalized

这是一本开源的关于Rust设计模式与典例的书,您可以在这里阅读。

本书使用了DeepL进行翻译,然后人工润色。感谢DeepL的优质翻译服务!

感谢《Rust Design Pattern》这本优秀的书!

感谢 rust-lang-cn中英文术语对照表

贡献

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.

许可证

此仓库内容以MPL-2.0许可证发布,见LICENSE.