Bump MSRV to 1.60

Needed for new feature syntax
This commit is contained in:
Eric Huss 2022-12-14 07:19:37 -08:00
parent b5f858da4e
commit fb0af12433
3 changed files with 4 additions and 3 deletions

View File

@ -31,8 +31,8 @@ jobs:
rust: stable rust: stable
- build: msrv - build: msrv
os: ubuntu-latest os: ubuntu-latest
# sync MSRV with docs: guide/src/guide/installation.md # sync MSRV with docs: guide/src/guide/installation.md and Cargo.toml
rust: 1.56.0 rust: 1.60.0
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Install Rust - name: Install Rust

View File

@ -14,6 +14,7 @@ license = "MPL-2.0"
readme = "README.md" readme = "README.md"
repository = "https://github.com/rust-lang/mdBook" repository = "https://github.com/rust-lang/mdBook"
description = "Creates a book from markdown files" description = "Creates a book from markdown files"
rust-version = "1.60"
[dependencies] [dependencies]
anyhow = "1.0.28" anyhow = "1.0.28"

View File

@ -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. To build the `mdbook` executable from source, you will first need to install Rust and Cargo.
Follow the instructions on the [Rust installation page]. 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: Once you have installed Rust, the following command can be used to build and install mdBook: