Skip to content

Commit

Permalink
Bump MSRV to 1.60
Browse files Browse the repository at this point in the history
Needed for new feature syntax
  • Loading branch information
ehuss committed Dec 14, 2022
1 parent 2c8d8cd commit b32464a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
rust: stable
- build: msrv
os: ubuntu-latest
# sync MSRV with docs: guide/src/guide/installation.md
rust: 1.56.0
# sync MSRV with docs: guide/src/guide/installation.md and Cargo.toml
rust: 1.60.0
steps:
- uses: actions/checkout@master
- name: Install Rust
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ license = "MPL-2.0"
readme = "README.md"
repository = "https://github.com/rust-lang/mdBook"
description = "Creates a book from markdown files"
rust-version = "1.60"

[dependencies]
anyhow = "1.0.28"
Expand Down
2 changes: 1 addition & 1 deletion guide/src/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To make it easier to run, put the path to the binary into your `PATH`.

To build the `mdbook` executable from source, you will first need to install Rust and Cargo.
Follow the instructions on the [Rust installation page].
mdBook currently requires at least Rust version 1.56.
mdBook currently requires at least Rust version 1.60.

Once you have installed Rust, the following command can be used to build and install mdBook:

Expand Down

0 comments on commit b32464a

Please sign in to comment.