Giter VIP home page Giter VIP logo

book's Introduction

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, it’s 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           # Linux
$ open -a "Firefox" book/index.html # OS X

Chrome:

$ google-chrome book/index.html           # Linux
$ open -a "Google Chrome" book/index.html # OS X

To run the tests:

$ mdbook test

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 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, there’s a directory, nostarch, which corresponds to the text in No Starch’s system.

When we've started working with No Starch in a word doc, we will also check those into the repo in the nostarch/odt directory. To extract the text from the word doc as markdown in order to backport changes to the online book:

  1. Open the doc file in LibreOffice
  2. Accept all tracked changes
  3. Save as Microsoft Word 2007-2013 XML (.docx) in the tmp directory
  4. Run ./doc-to-md.sh
  5. Inspect changes made to the markdown file in the nostarch directory and copy the changes to the src directory as appropriate.

book's People

Contributors

0xmohit avatar antmak avatar azerupi avatar barbeque avatar brennx0r avatar carols10cents avatar chrisrgc avatar clemensw avatar elahn avatar ereichert avatar frewsxcv avatar golddranks avatar guillaumegomez avatar jightuse avatar jturner314 avatar justsostephen avatar k4rtik avatar mark-simulacrum avatar oemmerson avatar pgr0ss avatar phil-opp avatar rayray avatar rphmeier avatar seanlinsley avatar spastorino avatar steveklabnik avatar terrynsun avatar vaneyckt avatar ykomatsu avatar zajn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.