Skip to content

Commit

Permalink
Merge pull request #4064 from rust-lang/book-toml-editions-info
Browse files Browse the repository at this point in the history
Add info about handling editions in book.toml to ADMIN.md
  • Loading branch information
chriskrycho authored Oct 10, 2024
2 parents 57f4196 + a514770 commit f156c59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ADMIN_TASKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ occasional maintenance tasks.
To update the `edition = "[year]"` metadata in all the listings' `Cargo.toml`s,
run the `./tools/update-editions.sh` script and commit the changes.

## Update the `edition` in mdBook config

Open `book.toml` and `nostarch/book.toml` and set the `edition` value in the
`[rust]` table to the new edition.

## Release a new version of the listings

We now make `.tar` files of complete projects containing every listing
Expand Down
3 changes: 3 additions & 0 deletions nostarch/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ build-dir = "../tmp"

[preprocessor.trpl-listing]
output-mode = "simple"

[rust]
edition = "2021"

0 comments on commit f156c59

Please sign in to comment.