Switch to Rust edition 2021
authorMatt Corallo <git@bluematt.me>
Sun, 16 Jul 2023 00:32:01 +0000 (00:32 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 16 Jul 2023 05:58:32 +0000 (05:58 +0000)
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
Cargo.toml

index fce9797d0a9f0f6520d15d56fff68eb3bb41f0ae..aca2d244fcde56b7ea9bb0392619c90a1e5929d8 100644 (file)
@@ -14,7 +14,7 @@ jobs:
       matrix:
         toolchain:
           - stable
-          - 1.48.0
+          - 1.56.0
           - beta
     runs-on: ubuntu-latest
     steps:
index 61e2f7211cd540c62f4e8e24e3ac916fbc9169a8..32a38c9fd38f7ab80eabee70f3d84873d53ce7be 100644 (file)
@@ -1,7 +1,7 @@
 [package]
 name = "rapid-gossip-sync-server"
 version = "0.1.0"
-edition = "2018"
+edition = "2021"
 
 [dependencies]
 bitcoin = "0.29"