From 47867c2eccc948c5a34ef07f2776650920439cda Mon Sep 17 00:00:00 2001 From: Abdulla Abdurakhmanov Date: Tue, 9 Jul 2024 15:54:21 +0200 Subject: [PATCH] Reqwest Sync requirement fix --- .../openapi/google/storage-v1/ext/apis/objects_api.rs | 4 ++-- .../rest_apis/google_rest_apis/storage_v1/apis/objects_api.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcloud-protos-generator/openapi/google/storage-v1/ext/apis/objects_api.rs b/gcloud-protos-generator/openapi/google/storage-v1/ext/apis/objects_api.rs index e39590918..2e09d7b39 100644 --- a/gcloud-protos-generator/openapi/google/storage-v1/ext/apis/objects_api.rs +++ b/gcloud-protos-generator/openapi/google/storage-v1/ext/apis/objects_api.rs @@ -8,7 +8,7 @@ pub async fn storage_objects_insert_ext_stream( configuration: &configuration::Configuration, params: StoragePeriodObjectsPeriodInsertParams, content_type: Option, - bytes_stream: BoxStreamWithSend< + bytes_stream: BoxStreamWithSync< 'static, std::result::Result>, > @@ -167,7 +167,7 @@ pub async fn storage_objects_insert_ext_bytes( > { use futures::StreamExt; - let bytes_stream: BoxStreamWithSend< + let bytes_stream: BoxStreamWithSync< 'static, std::result::Result>, > = Box::pin( diff --git a/gcloud-sdk/src/rest_apis/google_rest_apis/storage_v1/apis/objects_api.rs b/gcloud-sdk/src/rest_apis/google_rest_apis/storage_v1/apis/objects_api.rs index 8a9667b16..45597bd4c 100644 --- a/gcloud-sdk/src/rest_apis/google_rest_apis/storage_v1/apis/objects_api.rs +++ b/gcloud-sdk/src/rest_apis/google_rest_apis/storage_v1/apis/objects_api.rs @@ -2390,7 +2390,7 @@ pub async fn storage_objects_insert_ext_stream( configuration: &configuration::Configuration, params: StoragePeriodObjectsPeriodInsertParams, content_type: Option, - bytes_stream: BoxStreamWithSend< + bytes_stream: BoxStreamWithSync< 'static, std::result::Result>, >, @@ -2547,7 +2547,7 @@ pub async fn storage_objects_insert_ext_bytes( > { use futures::StreamExt; - let bytes_stream: BoxStreamWithSend< + let bytes_stream: BoxStreamWithSync< 'static, std::result::Result>, > = Box::pin(