Description: Upgrade dev deps env_logger and retry, adapt retry error
 handling to 2.x, patch forwarded upstream.
Author: Lester Guerzon <lester@guerzon.net>
Forwarded: https://github.com/ramosbugs/openidconnect-rs/pull/241/changes
Last-Update: 2026-08-19

Index: openidconnect/tests/rp_common.rs
===================================================================
--- openidconnect.orig/tests/rp_common.rs
+++ openidconnect/tests/rp_common.rs
@@ -106,10 +106,7 @@ pub fn http_client(request: HttpRequest)
             }
         },
     )
-    .map_err(|err| match err {
-        retry::Error::Operation { error, .. } => error,
-        retry::Error::Internal(msg) => panic!("unexpected error: {msg}"),
-    })
+    .map_err(|err| err.error)
 }
 
 pub trait PanicIfFail<T, F>
Index: openidconnect/Cargo.toml
===================================================================
--- openidconnect.orig/Cargo.toml
+++ openidconnect/Cargo.toml
@@ -125,7 +125,7 @@ features = ["serde"]
 version = "1.0"
 
 [dev-dependencies.env_logger]
-version = "0.9"
+version = ">= 0.9, < 1.0"
 
 [dev-dependencies.pretty_assertions]
 version = "1.0"
@@ -139,7 +139,7 @@ features = [
 default-features = false
 
 [dev-dependencies.retry]
-version = "1.0"
+version = ">= 2.2, < 3.0"
 
 [features]
 accept-rfc3339-timestamps = []
