From f5b37c3f71989c25bff9d7954ede21c3455e56cb Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 19 Apr 2023 08:10:14 +0200 Subject: [PATCH] fix: pin `yup-oauth2` to the latest known working version of yup-oauth2. It comes with hyper-rustls 0.23 which the currently released batch of google crates requires. --- google-apis-common/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/google-apis-common/Cargo.toml b/google-apis-common/Cargo.toml index 29b5e088b5..d3c52b62d2 100644 --- a/google-apis-common/Cargo.toml +++ b/google-apis-common/Cargo.toml @@ -25,7 +25,8 @@ base64 = "0.13.0" chrono = { version = "0.4.22", default-features = false, features = ["clock", "serde"] } url = "= 1.7" -yup-oauth2 = { version = "^ 8.2", optional = true } +# 8.1 needed for hyper-rustls 0.23, as >= 8.2 comes with 0.24 which is incompatible +yup-oauth2 = { version = "= 8.1", optional = true } itertools = "^ 0.10" hyper = { version = "^ 0.14", features = ["client", "http2"] } http = "^0.2"