Clone this repo:
  1. c3c0f0b Merge pull request #381 from ehuss/mdbook-0.5 by Eric Huss · 4 weeks ago master
  2. d7e3373 Update to mdbook 0.5 by Eric Huss · 5 weeks ago
  3. 9cf5443 Merge pull request #380 from vedranmiletic/master by Eric Huss · 6 weeks ago
  4. 0489211 Link to 1.56.0 and 1.85.0 blog posts by Vedran Miletić · 6 weeks ago
  5. 5c62125 Merge pull request #378 from ehuss/relink-never_type_fallback_flowing_into_unsafe by Eric Huss · 9 weeks ago

The Rust Edition Guide

This book explains the concept of “editions”, major new eras in Rust's development. You can read the book online.

License

The Rust Edition Guide is dual licensed under MIT/Apache2, just like Rust itself. See the LICENSE-* files in this repository for more details.

Building locally

You can also build the book and read it locally if you'd like.

Requirements

Building the book requires mdBook 0.5. To get it:

$ cargo install mdbook@^0.5

Building

The most straight-forward way to build and view the book locally is to use the following command:

$ mdbook serve --open

This builds the HTML version of the book, starts a webserver at http://localhost:3000, and opens your default web browser. It will also automatically rebuild the book whenever the source changes, and the page should automatically reload.

To run the tests:

$ mdbook test