Rust 程序设计语言 中文版——Chinese translation of The Rust Programming Language (Book)
Go to file
2016-02-04 14:57:48 -05:00
dot Add dot images 2016-01-13 16:44:47 -05:00
nostarch variable-bindings: Specify example language 2016-01-14 10:53:47 +06:00
src First draft: method syntax 2016-02-04 14:57:48 -05:00
.gitignore Hello, world. 2015-12-11 17:50:02 -05:00
.travis.yml Remove Makefile 2016-01-20 19:31:27 -05:00
book.json book.json should be at the top level 2015-12-28 10:37:36 -05:00
deploy.sh deploy to the book repo, not rust by example. 2015-12-14 14:55:40 -05:00
README.md Remove Makefile 2016-01-20 19:31:27 -05:00

The Rust Programming Language

This is the next iteration of “The Rust Programming Language”, which is currently located in the main Rust repository. If you want to read the book, you should check it out there or on the web.

If you would like to see this version rendered, its on GitHub pages.

Requirements

Building the book requires mdBook. To get it:

$ cargo install mdbook

Building

To build the book, type:

$ mdbook build

The output will be in the book subdirectory. To check it out, open it in your web browser:

$ firefox book/index.html

To run the tests:

$ mdbook test

Contributing

Im not going to be accepting major changes at first, but pull requests to fix typos and such are welcome. Please file any issues for any bugs you find, and utilize the issue tagged with Discussion to raise any larger questions / feedback.

This repository is under the same license as Rust itself, MIT/Apache2.

There are a number of labels on Issues:

  • Discussion issues are for discussing the chapters. Theres an issue per section.
  • Bug issues indicate problems in the text.
  • Needs Backport will be used when we are further along. At some point, we will import the text into their review system, and so changes made here will need to be upstreamed. This will track those.

Finally, theres the S- labels, which are for various statuses:

  • S-initial: Steve has not done any work here yet.
  • S-rough-draft: Steve has worked up a rough draft of what this section will look like.
  • S-under-review: Aaron and Steve are in the process of reviewing this section.
  • S-done: imported into No Starchs system. There may still be changes based on their feedback, even after a section is marked S-done.

No Starch

As the book will be published by No Starch, we first iterate here, then ship the text off to No Starch. Then they do editing, and we fold it back in.

As such, theres a directory, nostarch, which corresponds to the S-done, and its current status in No Starchs system.