Skip to content

Commit

Permalink
Bump MSRV to 1.56 to get access to Rust 2021 crates
Browse files Browse the repository at this point in the history
I noticed in rust-lang#1062 that mdBook does not yet use the Rust 2021 edition.
This 2021 edition was made stable in the 1.56 release on 2021-10-21.
The previous MSRV (1.54) was released on 2021-07-29.
  • Loading branch information
mgeisler committed Jul 28, 2022
1 parent 40c06f5 commit fe0c1b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- build: msrv
os: ubuntu-latest
# sync MSRV with docs: guide/src/guide/installation.md
rust: 1.54.0
rust: 1.56.0
steps:
- uses: actions/checkout@master
- name: Install Rust
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.54.
mdBook currently requires at least Rust version 1.56 (the 2021 edition).

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

Expand Down

0 comments on commit fe0c1b2

Please sign in to comment.