From dfd72770e76eea1e99f11fdaa32303bf3b65d7ee Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Tue, 6 Jun 2023 23:49:34 +0200 Subject: [PATCH] chore: bump MSRV to 1.70, add rust-toolchain (#2580) This time I've added a `components` section to rust-toolchain.toml file to explicitly require a rustfmt component. Fingers crossed. --- Dockerfile | 2 +- rust-toolchain.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 rust-toolchain.toml diff --git a/Dockerfile b/Dockerfile index d3170696c5..2a78d37cbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax = docker/dockerfile:1.2 -FROM rust:1.65-bullseye as builder +FROM rust:1.70-bullseye as builder WORKDIR app COPY . . diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000000..7046039a2c --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "1.70" +components = [ "rustfmt" ]