From: Matt Corallo Date: Sun, 16 Jul 2023 00:32:01 +0000 (+0000) Subject: Switch to Rust edition 2021 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=5ce2245f2954b84a28cffea39953d00b5149af14;p=rapid-gossip-sync-server 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. --- 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"