chore: bump MSRV to 1.70 (#2573)

Piotr Osiewicz created

Add rust-toolchain.toml

Release Notes:

- N/A

Change summary

.github/workflows/ci.yml | 1 +
Dockerfile               | 2 +-
rust-toolchain.toml      | 2 ++
3 files changed, 4 insertions(+), 1 deletion(-)

Detailed changes

.github/workflows/ci.yml 🔗

@@ -26,6 +26,7 @@ jobs:
       - name: Install Rust
         run: |
           rustup set profile minimal
+          rustup component add rustfmt
           rustup update stable
 
       - name: Checkout repo

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