mirror of
https://github.com/flibusta-apps/batch_downloader.git
synced 2025-12-06 14:25:36 +01:00
Update deps
This commit is contained in:
@@ -55,7 +55,7 @@ pub async fn response_to_tempfile(res: &mut Response) -> Option<(SpooledTempFile
|
||||
}
|
||||
|
||||
pub fn get_stream(
|
||||
mut temp_file: Box<dyn Read + Send>,
|
||||
mut temp_file: Box<dyn Read + Send + Sync>,
|
||||
) -> impl futures_core::Stream<Item = Result<Bytes, Error>> {
|
||||
stream! {
|
||||
let mut buf = [0; 2048];
|
||||
|
||||
Reference in New Issue
Block a user