mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-01-23 07:20:20 +08:00
d1fdb5d539
This makes it a teeny bit easier to build and test things.
1.0 KiB
1.0 KiB
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.
Requirements
Building the book requires mdBook. To get it:
$ cargo install mdbook
Building
To build the book, type:
$ make
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:
$ make test
To do both:
$ make all
Contributing
I’m not going to be accepting major changes at first, but pull requests to fix typos and such are welcome. Please file any issues for discussion of larger changes.
This repository is under the same license as Rust itself, MIT/Apache2.