From b70df8876e05acac59b16550fa248375809bb76a Mon Sep 17 00:00:00 2001 From: Ivan Ukhov Date: Wed, 2 Oct 2024 15:34:24 +0200 Subject: [PATCH] Update google-clis-common --- google-clis-common/Cargo.toml | 6 +++--- google-clis-common/src/lib.rs | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/google-clis-common/Cargo.toml b/google-clis-common/Cargo.toml index cceaae14bf..bc2e35ee8e 100644 --- a/google-clis-common/Cargo.toml +++ b/google-clis-common/Cargo.toml @@ -16,9 +16,9 @@ edition = "2021" doctest = false [dependencies] -mime = "^ 0.3" -yup-oauth2 = "9" +clap = "2" +mime = "0.3" serde = "1" serde_json = "1" strsim = "0.11" -clap = "2" +yup-oauth2 = "11" diff --git a/google-clis-common/src/lib.rs b/google-clis-common/src/lib.rs index 82dc9f16c9..ab1af1cb34 100644 --- a/google-clis-common/src/lib.rs +++ b/google-clis-common/src/lib.rs @@ -1,8 +1,8 @@ +use clap::arg_enum; use mime::Mime; -use yup_oauth2::{ApplicationSecret, ConsoleApplicationSecret}; use serde_json as json; use serde_json::value::Value; -use clap::arg_enum; +use yup_oauth2::{ApplicationSecret, ConsoleApplicationSecret}; use std::env; use std::fmt; @@ -750,7 +750,6 @@ pub fn application_secret_from_directory( unreachable!(); } - #[cfg(test)] mod test_cli { use super::*;