From d9ba9cd5d3f5138a559055c6bd3a7ff893c2b849 Mon Sep 17 00:00:00 2001
From: tottoto <tottotodev@gmail.com>
Date: Tue, 17 Oct 2023 22:55:09 +0900
Subject: [PATCH 1/2] chore(dependencies): relax minimum tokio version to 1

---
 Cargo.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Cargo.toml b/Cargo.toml
index 104b3df216..d87c733103 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -26,7 +26,7 @@ futures-util = { version = "0.3", default-features = false }
 http = "1"
 http-body = "1"
 pin-project-lite = "0.2.4"
-tokio = { version = "1.13", features = ["sync"] }
+tokio = { version = "1", features = ["sync"] }
 
 # Optional
 

From db38c9965453737830a648dca05be8828d681635 Mon Sep 17 00:00:00 2001
From: tottoto <tottotodev@gmail.com>
Date: Thu, 16 Nov 2023 00:27:13 +0900
Subject: [PATCH 2/2] chore(ci): add minimal versions checking

---
 .github/workflows/CI.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 3ba2aa2459..d3443e8198 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -26,6 +26,7 @@ jobs:
       - doc
       - check-external-types
       - udeps
+      - minimal-versions
     steps:
       - run: exit 0
 
@@ -272,3 +273,16 @@ jobs:
 
       - name: Check unused dependencies on full features
         run: cargo udeps --features full
+
+  minimal-versions:
+    runs-on: ubuntu-latest
+    needs: [style]
+    steps:
+      - uses: actions/checkout@v4
+      - uses: dtolnay/rust-toolchain@nightly
+      - uses: dtolnay/rust-toolchain@stable
+      - uses: taiki-e/install-action@cargo-hack
+      - uses: taiki-e/install-action@cargo-minimal-versions
+      - uses: Swatinem/rust-cache@v2
+      - run: cargo minimal-versions check
+      - run: cargo minimal-versions check --features full