From d965f1055f8e17f430c82a8073ab4177aba5f906 Mon Sep 17 00:00:00 2001
From: Dirkjan Ochtman <dirkjan@ochtman.nl>
Date: Mon, 1 Aug 2022 11:26:13 +0200
Subject: [PATCH] Set MSRV to 1.58 for now

---
 .github/workflows/main.yml | 6 +++++-
 bb8/Cargo.toml             | 1 +
 postgres/Cargo.toml        | 1 +
 redis/Cargo.toml           | 1 +
 4 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c78f7d3..15ebd0f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -12,12 +12,16 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest, macos-latest, windows-latest]
-        rust: [stable, beta]
+        rust: [stable, beta, 1.58.0]
         exclude:
           - os: macos-latest
             rust: beta
           - os: windows-latest
             rust: beta
+          - os: macos-latest
+            rust: 1.58.0
+          - os: windows-latest
+            rust: 1.58.0
 
     runs-on: ${{ matrix.os }}
 
diff --git a/bb8/Cargo.toml b/bb8/Cargo.toml
index 008a4d8..0726f27 100644
--- a/bb8/Cargo.toml
+++ b/bb8/Cargo.toml
@@ -7,6 +7,7 @@ repository = "https://github.com/djc/bb8"
 edition = "2021"
 workspace = ".."
 readme = "../README.md"
+rust-version = "1.56"
 
 [dependencies]
 async-trait = "0.1"
diff --git a/postgres/Cargo.toml b/postgres/Cargo.toml
index f432bbf..91fa60b 100644
--- a/postgres/Cargo.toml
+++ b/postgres/Cargo.toml
@@ -5,6 +5,7 @@ description = "Full-featured async (tokio-based) postgres connection pool (like
 license = "MIT"
 repository = "https://github.com/djc/bb8"
 edition = "2021"
+rust-version = "1.56"
 
 [features]
 "with-bit-vec-0_6" = ["tokio-postgres/with-bit-vec-0_6"]
diff --git a/redis/Cargo.toml b/redis/Cargo.toml
index 1ed667a..891fea3 100644
--- a/redis/Cargo.toml
+++ b/redis/Cargo.toml
@@ -5,6 +5,7 @@ description = "Full-featured async (tokio-based) redis connection pool (like r2d
 license = "MIT"
 repository = "https://github.com/djc/bb8"
 edition = "2021"
+rust-version = "1.56"
 
 [dependencies]
 async-trait = "0.1"