From 2f38895f835d4d7db9693e9ff3d1565aa38a617b Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 20 Oct 2022 13:35:14 +0800 Subject: [PATCH] update common dependencies to latest version There were some (breaking) changes in these dependencies and the required versions changed. On the bright side, both common crates are now in the 5.0 range. --- gen/drive3-cli/Cargo.toml | 2 +- gen/drive3/Cargo.toml | 2 +- src/generator/templates/Cargo.toml.mako | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gen/drive3-cli/Cargo.toml b/gen/drive3-cli/Cargo.toml index a75fe8e0d9..9c01421229 100644 --- a/gen/drive3-cli/Cargo.toml +++ b/gen/drive3-cli/Cargo.toml @@ -26,7 +26,7 @@ mime = "^ 0.3.0" serde = { version = "^ 1.0", features = ["derive"] } serde_json = "^ 1.0" itertools = "^ 0.10" -google-clis-common = { path = "../../google-clis-common", version = "4.0" } +google-clis-common = { path = "../../google-clis-common", version = "5.0" } strsim = "^0.5" clap = "^2.0" http = "^0.2" diff --git a/gen/drive3/Cargo.toml b/gen/drive3/Cargo.toml index d6a812f0bf..9ea4a88ea5 100644 --- a/gen/drive3/Cargo.toml +++ b/gen/drive3/Cargo.toml @@ -23,7 +23,7 @@ mime = "^ 0.3.0" serde = { version = "^ 1.0", features = ["derive"] } serde_json = "^ 1.0" itertools = "^ 0.10" -google-apis-common = { path = "../../google-apis-common", version = "5.0" } +google-apis-common = { path = "../../google-apis-common", version = "5.0.1" } hyper = "^ 0.14" http = "^0.2" tokio = "^1.0" diff --git a/src/generator/templates/Cargo.toml.mako b/src/generator/templates/Cargo.toml.mako index 3c0b8ceb41..6683db36d1 100644 --- a/src/generator/templates/Cargo.toml.mako +++ b/src/generator/templates/Cargo.toml.mako @@ -34,9 +34,9 @@ serde = { version = "^ 1.0", features = ["derive"] } serde_json = "^ 1.0" itertools = "^ 0.10" % if cargo.get('is_executable', False): -google-clis-common = { path = "../../google-clis-common", version = "4.0" } +google-clis-common = { path = "../../google-clis-common", version = "5.0" } % else: -google-apis-common = { path = "../../google-apis-common", version = "5.0" } +google-apis-common = { path = "../../google-apis-common", version = "5.0.1" } % endif % for dep in cargo.get('dependencies', list()): ${dep}