Rust 程序设计语言 中文版——Chinese translation of The Rust Programming Language (Book)
Go to file
Carol (Nichols || Goulding) 468e5cc202 Update style-guide.md
2016-09-06 17:07:14 -04:00
.github Add an issue template explaining the new/old book business 2016-08-26 16:10:21 -07:00
dot Made images high-DPI-compatible. 2016-02-29 03:07:06 +09:00
nostarch Fixed formatting to be all Literal inline 2016-08-31 19:44:08 -04:00
src Update ch02-00-guessing-game-tutorial.md 2016-09-06 10:35:33 -07:00
.gitignore Add a script that hooks the nostarch build commands together 2016-08-18 10:54:22 -04:00
.travis.yml Use cache: cargo 2016-08-29 12:20:23 -04:00
book.json book.json should be at the top level 2015-12-28 10:37:36 -05:00
Cargo.lock Add a script that concatenates chapters into one file 2016-08-16 00:40:12 +03:00
Cargo.toml Add a script that concatenates chapters into one file 2016-08-16 00:40:12 +03:00
deploy.sh deploy to the book repo, not rust by example. 2015-12-14 14:55:40 -05:00
nostarch.sh Add remove links script to the nostarch delivery script 2016-08-26 16:43:48 -07:00
README.md Minor styling change 2016-08-23 21:59:18 -07:00
style-guide.md Update style-guide.md 2016-09-06 17:07:14 -04:00

The Rust Programming Language

Build Status

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 >= v0.0.13. 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:

$ firefox book/index.html

Chrome:

$ open -a "Google Chrome" 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.

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

There are a number of labels on Issues:

  • Enhancement issues are a request for an improvement of some kind.
  • 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.

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 text in No Starchs system.