Skip to content

Commit fb0af12

Browse files
committed
Bump MSRV to 1.60
Needed for new feature syntax
1 parent b5f858d commit fb0af12

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
rust: stable
3232
- build: msrv
3333
os: ubuntu-latest
34-
# sync MSRV with docs: guide/src/guide/installation.md
35-
rust: 1.56.0
34+
# sync MSRV with docs: guide/src/guide/installation.md and Cargo.toml
35+
rust: 1.60.0
3636
steps:
3737
- uses: actions/checkout@master
3838
- name: Install Rust

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ license = "MPL-2.0"
1414
readme = "README.md"
1515
repository = "https://github.com/rust-lang/mdBook"
1616
description = "Creates a book from markdown files"
17+
rust-version = "1.60"
1718

1819
[dependencies]
1920
anyhow = "1.0.28"

guide/src/guide/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To make it easier to run, put the path to the binary into your `PATH`.
2020

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

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

0 commit comments

Comments
 (0)