From a648dd727519991c2e3c762af16eac027b2acec2 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 4 Apr 2023 11:12:38 +0000
Subject: [PATCH] Fix `juniper_rocket` MSRV check by setting minimal version
 for `pear` transitive dependency instead of `proc-macro2-diagnostics` (#1152)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
---
 juniper_rocket/Cargo.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/juniper_rocket/Cargo.toml b/juniper_rocket/Cargo.toml
index 32236cf3..f270be01 100644
--- a/juniper_rocket/Cargo.toml
+++ b/juniper_rocket/Cargo.toml
@@ -27,7 +27,7 @@ serde_json = "1.0.18"
 # TODO: Try remove on upgrade of `rocket` crate.
 either = "1.8"
 inlinable_string = "0.1.15"
-proc-macro2-diagnostics = "0.9.1"
+pear = "0.2.4"
 tempfile = "3.3"
 
 [dev-dependencies]