From 5a08878a484c9e5f5b1ddb2e02923735284fe9f1 Mon Sep 17 00:00:00 2001 From: David Souther Date: Tue, 3 Oct 2023 15:35:04 -0400 Subject: [PATCH] Fix for paginator --- .../cross_service/photo_asset_management/src/chunked_uploader.rs | 1 - .../cross_service/photo_asset_management/src/uploader.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/rust_dev_preview/cross_service/photo_asset_management/src/chunked_uploader.rs b/rust_dev_preview/cross_service/photo_asset_management/src/chunked_uploader.rs index cc9acc2089d..1507c196d64 100644 --- a/rust_dev_preview/cross_service/photo_asset_management/src/chunked_uploader.rs +++ b/rust_dev_preview/cross_service/photo_asset_management/src/chunked_uploader.rs @@ -5,7 +5,6 @@ use aws_sdk_dynamodb::primitives::DateTime; use aws_sdk_s3::{operation::get_object::GetObjectOutput, types::CompletedPart}; use aws_smithy_types_convert::date_time::DateTimeExt; use chrono::NaiveDateTime; -use futures::TryStreamExt; use pipe::{pipe, PipeReader, PipeWriter}; use streaming_zip::{Archive, CompressionMode}; use uuid::Uuid; diff --git a/rust_dev_preview/cross_service/photo_asset_management/src/uploader.rs b/rust_dev_preview/cross_service/photo_asset_management/src/uploader.rs index 8ef91783ee0..712b8495aa1 100644 --- a/rust_dev_preview/cross_service/photo_asset_management/src/uploader.rs +++ b/rust_dev_preview/cross_service/photo_asset_management/src/uploader.rs @@ -4,7 +4,6 @@ use aws_smithy_types_convert::date_time::DateTimeExt; use std::io::prelude::*; use std::io::Write; use tempfile::tempfile; -use tokio_stream::StreamExt; use zip_next::{write::FileOptions, ZipWriter}; use crate::common::Common;