From 61c8011d089e3b8552e1dad98a25657ca0a25bac Mon Sep 17 00:00:00 2001 From: OMGeeky Date: Mon, 5 Jun 2023 23:15:12 +0200 Subject: [PATCH] patch yup-oauth2 version with custom one --- Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e8008b9..33b36df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "downloader" -version = "0.3.0" +version = "0.3.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -24,6 +24,12 @@ anyhow = "1.0.70" log = { version = "0.4" } tracing = { version = "0.1", optional = true } +[patch.crates-io] +# patch the yup-oauth2 version with a custom for to support forcing the user to choose an account. +# this can be removed as soon as PR (#205)[https://github.com/dermesser/yup-oauth2/pull/205] is resolved and +# the google-youtube3 crate uses the google-apis-common crate that implements this +yup-oauth2 = { version = "8.1.1", git = "https://github.com/OMGeeky/yup-oauth2", branch = "8.1.1" } + [features] default = [] tracing = [