Clone this repo:
  1. 5a14f72 Merge pull request #386 from ehuss/fix-invalid_runtime_symbol_definitions by Travis Cross · 10 days ago master
  2. 66786fd Fix failing test due to invalid_runtime_symbol_definitions by Eric Huss · 10 days ago
  3. 53686db Merge pull request #385 from cyqsimon/fix/2024-resolver-typo by Eric Huss · 2 weeks ago
  4. bf7934f Fix typo of key name `resolver.incompatible-rust-versions` by cyqsimon · 2 weeks ago
  5. c3c0f0b Merge pull request #381 from ehuss/mdbook-0.5 by Eric Huss · 8 months 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