diff --git a/google-apis-common/Cargo.toml b/google-apis-common/Cargo.toml index 80d1b80465..0c4a13edd3 100644 --- a/google-apis-common/Cargo.toml +++ b/google-apis-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "google-apis-common" -version = "5.0.4" +version = "6.0.0" authors = ["Sebastian Thiel "] repository = "https://github.com/Byron/google-apis-rs" homepage = "https://github.com/Byron/google-apis-rs/google-apis-common" @@ -26,7 +26,7 @@ chrono = { version = "0.4.22", default-features = false, features = ["clock", "s url = "= 1.7" # 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 } +yup-oauth2 = { version = "^ 8.2", optional = true } itertools = "^ 0.10" hyper = { version = "^ 0.14", features = ["client", "http2"] } http = "^0.2" diff --git a/google-clis-common/Cargo.toml b/google-clis-common/Cargo.toml index 0f1a156ccc..1ac51b2332 100644 --- a/google-clis-common/Cargo.toml +++ b/google-clis-common/Cargo.toml @@ -2,7 +2,7 @@ # This library is just to try out the code that should ultimately go into the code generator ! [package] name = "google-clis-common" -version = "5.0.0" +version = "6.0.0" authors = ["Sebastian Thiel "] repository = "https://github.com/Byron/google-apis-rs" homepage = "https://github.com/Byron/google-apis-rs/google-clis-common" @@ -17,7 +17,7 @@ doctest = false [dependencies] mime = "^ 0.3" -yup-oauth2 = "^ 8.0" +yup-oauth2 = "^ 8.2" serde = "1" serde_json = "1" strsim = "0.10.0" diff --git a/src/generator/templates/Cargo.toml.mako b/src/generator/templates/Cargo.toml.mako index cb142711ea..f465d3f393 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 = "5.0" } +google-clis-common = { path = "../../google-clis-common", version = "6.0" } % else: -google-apis-common = { path = "../../google-apis-common", version = "5.0.1" } +google-apis-common = { path = "../../google-apis-common", version = "6.0" } % endif % for dep in cargo.get('dependencies', list()): ${dep}