From 5ce2245f2954b84a28cffea39953d00b5149af14 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 16 Jul 2023 00:32:01 +0000 Subject: [PATCH] Switch to Rust edition 2021 This increases the MSRV to 1.56, which is now almost two years old, and lets us use array::IntoIter in the next commit. --- .github/workflows/build.yml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fce9797..aca2d24 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: matrix: toolchain: - stable - - 1.48.0 + - 1.56.0 - beta runs-on: ubuntu-latest steps: diff --git a/Cargo.toml b/Cargo.toml index 61e2f72..32a38c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rapid-gossip-sync-server" version = "0.1.0" -edition = "2018" +edition = "2021" [dependencies] bitcoin = "0.29" -- 2.30.2