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.
This commit is contained in:
Piotr Osiewicz 2023-06-06 23:49:34 +02:00 committed by GitHub
parent bdd3e77e02
commit dfd72770e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -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 . .

3
rust-toolchain.toml Normal file
View file

@ -0,0 +1,3 @@
[toolchain]
channel = "1.70"
components = [ "rustfmt" ]