From 847a5820220024a17cb76115a7393e1b1a698b27 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Wed, 29 Nov 2023 14:36:39 -0800 Subject: [PATCH] Update msrv to 1.70 --- .github/workflows/main.yml | 2 +- Cargo.toml | 2 +- guide/src/guide/installation.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d6a1b9ca..bfd2da2f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ jobs: - build: msrv os: ubuntu-20.04 # sync MSRV with docs: guide/src/guide/installation.md and Cargo.toml - rust: 1.66.0 + rust: 1.70.0 steps: - uses: actions/checkout@v3 - name: Install Rust diff --git a/Cargo.toml b/Cargo.toml index 385aa470..c0b17041 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +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.66" +rust-version = "1.70" [dependencies] anyhow = "1.0.71" diff --git a/guide/src/guide/installation.md b/guide/src/guide/installation.md index cd1e2d60..a25cfd82 100644 --- a/guide/src/guide/installation.md +++ b/guide/src/guide/installation.md @@ -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.66. +mdBook currently requires at least Rust version 1.70. Once you have installed Rust, the following command can be used to build and install mdBook: