From f9fbe687920ac17fcf45ff8c689cf5c162b6457a Mon Sep 17 00:00:00 2001 From: LenWilliamson Date: Sat, 20 Apr 2024 17:12:03 +0200 Subject: [PATCH 1/3] update reqwest version to 0.12 --- foundation/auth/Cargo.toml | 2 +- foundation/metadata/Cargo.toml | 2 +- storage/Cargo.toml | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/foundation/auth/Cargo.toml b/foundation/auth/Cargo.toml index e6377cef..b1439eb4 100644 --- a/foundation/auth/Cargo.toml +++ b/foundation/auth/Cargo.toml @@ -11,7 +11,7 @@ description = "Google Cloud Platform server application authentication library." [dependencies] tracing = "0.1" -reqwest = { version = "0.11", features = ["json"], default-features = false } +reqwest = { version = "0.12.4", features = ["json"], default-features = false } serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0" } jsonwebtoken = { version = "9.2.0" } diff --git a/foundation/metadata/Cargo.toml b/foundation/metadata/Cargo.toml index 31444eb6..ae3b043a 100644 --- a/foundation/metadata/Cargo.toml +++ b/foundation/metadata/Cargo.toml @@ -12,7 +12,7 @@ description = "Google Cloud Platform rust client." [dependencies] tokio = { version = "1.32", features = ["sync", "net", "parking_lot"] } # this crate uses http only -reqwest = { version = "0.11" , default-features = false } +reqwest = { version = "0.12.4" , default-features = false } thiserror = "1.0" [dev-dependencies] diff --git a/storage/Cargo.toml b/storage/Cargo.toml index 096844d2..4c649081 100644 --- a/storage/Cargo.toml +++ b/storage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "google-cloud-storage" -version = "0.17.0" +version = "0.17.1" edition = "2021" authors = ["yoshidan "] repository = "https://github.com/yoshidan/google-cloud-rust/tree/main/storage" @@ -31,12 +31,12 @@ once_cell = "1.18" hex = "0.4" url = "2.4" tracing = "0.1" -reqwest = { version = "0.11", features = [ +reqwest = { version = "0.12.4", features = [ "json", "stream", "multipart", ], default-features = false } -reqwest-middleware = "0.2" +reqwest-middleware = { version = "0.3", features = ["json", "multipart"] } anyhow = "1.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" @@ -55,7 +55,7 @@ tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } ctor = "0.1.26" tokio-util = { version = "0.7", features = ["codec"] } google-cloud-auth = { path = "../foundation/auth", default-features = false } -reqwest-retry = "0.3.0" +reqwest-retry = "0.5.0" retry-policies = "0.2.1" [features] From 3d803000b5ca36e3c52f817d3cfbb0159ba074a5 Mon Sep 17 00:00:00 2001 From: LenWilliamson Date: Thu, 25 Apr 2024 13:22:20 +0200 Subject: [PATCH 2/3] add charset feature --- foundation/auth/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundation/auth/Cargo.toml b/foundation/auth/Cargo.toml index b1439eb4..9fb677b4 100644 --- a/foundation/auth/Cargo.toml +++ b/foundation/auth/Cargo.toml @@ -11,7 +11,7 @@ description = "Google Cloud Platform server application authentication library." [dependencies] tracing = "0.1" -reqwest = { version = "0.12.4", features = ["json"], default-features = false } +reqwest = { version = "0.12.4", features = ["json", "charset"], default-features = false } serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0" } jsonwebtoken = { version = "9.2.0" } From 1237008995a2b6d13d5770fd5b15f1398a139853 Mon Sep 17 00:00:00 2001 From: LenWilliamson Date: Thu, 2 May 2024 17:20:03 +0200 Subject: [PATCH 3/3] fix dependency issues --- bigquery/Cargo.toml | 4 ++-- storage/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bigquery/Cargo.toml b/bigquery/Cargo.toml index 14991ad4..9d4fec95 100644 --- a/bigquery/Cargo.toml +++ b/bigquery/Cargo.toml @@ -17,7 +17,7 @@ google-cloud-googleapis = { version="0.12.0", path = "../googleapis", features=[ google-cloud-gax = { version = "0.17.0", path = "../foundation/gax"} thiserror = "1.0" tracing = "0.1" -reqwest = { version = "0.11", features = ["json", "stream", "multipart"], default-features = false } +reqwest = { version = "0.12.4", features = ["json", "stream", "multipart", "charset"], default-features = false } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tokio = { version="1.32", features=["macros"] } @@ -27,7 +27,7 @@ base64 = "0.21" bigdecimal = { version="0.4", features=["serde"] } num-bigint = "0.4" backon = "0.4" -reqwest-middleware = "0.2" +reqwest-middleware = { version = "0.3", features = ["json", "multipart"] } anyhow = "1.0" google-cloud-auth = { optional = true, version = "0.14", path="../foundation/auth", default-features=false } diff --git a/storage/Cargo.toml b/storage/Cargo.toml index 4c649081..5f002c13 100644 --- a/storage/Cargo.toml +++ b/storage/Cargo.toml @@ -56,7 +56,7 @@ ctor = "0.1.26" tokio-util = { version = "0.7", features = ["codec"] } google-cloud-auth = { path = "../foundation/auth", default-features = false } reqwest-retry = "0.5.0" -retry-policies = "0.2.1" +retry-policies = "0.3.0" [features] default = ["default-tls", "auth"]